If you have ever worked in a company where sales lives in a CRM, stock lives in a spreadsheet, and the accountant re-types invoices into a separate ledger, you know the problem: three versions of the truth, and nobody trusts any of them. This post walks through how Odoo ERP connects Sales, Inventory and Accounting on a single data model, what actually happens under the hood at each step, and a few configuration choices that matter in practice. Examples reference Odoo 19.

Why disconnected systems hurt

When sales, warehouse and finance run on separate tools, the same order gets keyed in two or three times. Typical symptoms:

  • Sales promises stock that the warehouse already shipped elsewhere.
  • Invoices go out for quantities that were never delivered.
  • Month-end closing turns into a reconciliation exercise between exports.

Odoo avoids this because every app writes to the same PostgreSQL database and shares the same records: one res.partner for the customer, one product.product for the item, and documents that link to each other.

The core flow: quotation → delivery → invoice

Here is the standard path a sale takes in Odoo:

  1. Quotation (sale.order) — Sales creates a quote. Product availability is visible on the order line, because it reads the same stock data the warehouse uses.
  2. Confirmation — When the order is confirmed, Odoo automatically creates a delivery order (stock.picking) with stock moves (stock.move) for each storable product. Nobody has to tell the warehouse.
  3. Delivery — The warehouse validates the picking. On-hand quantity decreases immediately.
  4. Invoice (account.move) — Accounting (or sales) clicks Create Invoice on the sales order. The invoice lines are linked back to the sale order lines, so Odoo knows exactly what has been invoiced and what is still pending.

Because these documents reference each other, you can open any sales order and jump to its deliveries and invoices with smart buttons. That traceability is the real value: auditors and managers can follow one order end to end without asking three departments.

Invoicing policy: ordered vs delivered

One setting decides how tightly Sales and Inventory are tied to Accounting: the invoicing policy, found under Sales ‣ Configuration ‣ Settings and on each product form.

  • Invoice what is ordered (default) — the invoice can be created as soon as the order is confirmed. Good for services, subscriptions or prepaid goods.
  • Invoice what is delivered — the invoice is based on the quantity actually shipped. Odoo's documentation recommends this for goods sold in bulk (materials, liquids, food) where the delivered quantity may differ slightly from the ordered one.

Practical example: a distributor sells 1,000 kg of cement, but the truck scale records 985 kg. With invoice what is delivered, the invoice automatically shows 985 kg. Nobody edits the invoice by hand, and the customer is billed for what they received.

One caveat from the docs: with invoice what is delivered, the automatic invoice feature for online payments cannot be used, since a draft invoice only becomes possible after the delivery is validated.

Where the money meets the stock: inventory valuation

Quantities are only half the story. Finance needs to know what stock is worth. Odoo supports three costing methods, set in Accounting settings and optionally per product category:

  • Standard cost — fixed unit cost, updated manually.
  • Average cost — weighted average of all units received.
  • FIFO — first in, first out.

In Odoo 19, the Inventory app tracks stock value in real time as goods are received and delivered, while the Accounting app records entries when vendor bills and customer invoices are posted. A periodic closing entry accounts for the difference between what was invoiced and what was physically received or delivered.

You also choose an accounting method:

  • Perpetual — vendor bills are posted to a stock valuation (asset) account, and cost of goods sold is recognised when goods are sold. Odoo describes this as the common practice in Anglo-Saxon accounting countries such as the USA and India.
  • Periodic — vendor bills are posted as expenses, and stock value is adjusted at closing. This is common in continental Europe.

Practical example: a retailer using average cost receives 8 units at $10 and later 4 units at $16. The average unit cost becomes $12, so when 10 units are delivered, the cost of goods sold is based on $12 per unit rather than whichever price an employee happens to remember.

The purchase side closes the loop

The same idea works in reverse. A purchase order creates a receipt, the warehouse validates it, and the vendor bill can be controlled against received quantities. This is the classic three-way match (PO ↔ receipt ↔ bill), and it stops the business from paying for goods that never arrived.

A note for developers

Because everything is a related model, extending the flow is mostly a matter of inheriting the right model. For example, to block invoicing until delivery is complete for a specific customer segment, you can inherit sale.order and add a check in the method that creates invoices, rather than building a separate integration. Keep customisations small and prefer standard configuration first; it makes version upgrades far easier.

Conclusion

Odoo's strength is not any single app. It is that Sales, Inventory and Accounting share one database and one set of linked documents. Confirming an order creates the delivery, validating the delivery drives the invoice and stock value, and accounting reflects all of it without re-keying data. Get three settings right (invoicing policy, costing method and accounting method) and most of the integration work is already done for you.

References

Disclosure: This article was created with the help of AI and checked for accuracy against the official Odoo 19 documentation.