MODULES / CUSTOM

Confirm, Receive and Bill Purchase Order

Complete a draft purchase order, receive goods and post vendor bills in one transaction.

Overview

Module idask_auto_confirm_po
Version1.0.0
Who uses itAnyone who uses the screens listed below.
InstalledOn demand, from Settings → Modules. Anything it needs is installed with it.

How it links to other modules

A module that is needed cannot be turned off while the module that needs it is on.

Details

Confirm, Receive and Bill Purchase Order

Port of Odoo 18 ask_auto_confirm_po. Install Confirm, Receive and Bill Purchase Order from Settings > Modules. Dependencies: Purchase, Inventory, Accounting.

On a draft purchase order, choose the scheduled date, supplier location and receiving location, then use Confirm, receive all goods and post bills. Posting permission is required. This is an explicit action, not an automatic side effect of saving a draft.

All work shares one transaction: confirm the order, receive all tracked product lines, create bills and post them. The scheduled date is the receipt, invoice, accounting and due date. Any failure rolls everything back. Company isolation, accounting lock dates, posting guards and approval rules remain enforced. Repeated or concurrent clicks cannot create duplicate receipts/bills.

ASKERP adaptations:

  • Dates are explicit calendar dates; no UTC datetime conversion is needed.
  • Each stock receipt gets its own matched bill, as required by ASKERP's accounting model. Non-stock/service lines share a separate bill and require expense-account configuration. They do not create stock movements.
  • Bill approval is checked against the combined purchase amount, so splitting matched bills cannot bypass a threshold. Purchases requiring bill approval must use the normal workflow. Purchase-order approvals are also enforced.
  • Orders with an existing bill or lines without products use the normal workflow.
  • The existing order status continues to describe physical receipt progress; non-stock lines do not acquire fictitious received quantities.

No new schema or accounting engine. Tests: addon.test.ts.

Confirm, Receive and Bill Purchase Order | ASKERP Docs