Sales

Quotations and orders

AvailableCustomersmanifest

What it is for ​

Write quotations for customers and turn them into confirmed orders. Orders point at a contact, carry a total and a currency, and confirmed orders are what Invoicing bills.

What the package does and does not do ​

Quotations and confirmed orders for customers.

Models ​

sale_order ​

A quotation or confirmed order for a customer

Read group: sales.user. Write group: sales.user.

FieldKindData classPersonal dataGroupAgents seeDescription
party_idref → partynonenosales.userin clearCustomer party id
stateselect (draft, confirmed, cancelled)nonenosales.userin clearLifecycle: draft, confirmed or cancelled
total_minormoneynonenosales.userin clearOrder total in minor units
currencytextnonenosales.userin clearISO 4217 currency code

Workflows ​

sale_order ​

ActionMovesWho may run itApproval
sale_order.confirmstate: draft → confirmedsales.userno
sale_order.cancelstate: * → cancelledsales.userno
sale_order.reset_to_draftstate: cancelled → draftsales.userno

Permission groups ​

Groups used by this app:

  • sales.user

Approval steps ​

No step in this app needs an approval, apart from deleting records.

What agents can and cannot do ​

An agent can read, search, create and update records of this app, and run the actions that need no approval, within the permission groups of its token.

It can only propose these steps, and a person must approve them: sale_order.delete.

Dependencies ​

  • base

Install ​

Built in. It is available in every instance and cannot be removed.

Build your own ​

The module guide shows how apps like this one are written