OdooWiki OCA HUB

Purchase Stock Picking Invoice Link

purchase_stock_picking_invoice_link folder_open OCA/stock-logistics-workflow open_in_new
Warehouse Management License: AGPL-3

This module adds a link between purchases, pickings and invoices as well as on the lines. Invoices are generated from purchase orders. With this module, you can find back which deliveries an invoice relates to.

This module improves stock_picking_invoice_link module by linking purchases, pickings and invoices.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Links purchase orders, stock deliveries/receipts and vendor bills so you can see which pickings an invoice was based on, and which invoices cover a given receipt or return.

This module connects the three documents of a purchase cycle: the purchase order, the stock movements (receipts and returns) and the vendor bill. It works together with the stock picking/invoice link and purchase-stock features, and installs automatically when those are present.

What it changes for users: - When a vendor bill is created from a purchase order, the invoice lines are automatically linked to the relevant completed stock movements, so the invoice keeps a trace of the receipts it covers. - On a purchase order line, the system looks at the product's invoicing policy: quantities are taken from ordered quantities when the product is invoiced on order, or from received quantities when it is invoiced on receipt. - Only finished (done) movements are considered; scrapped moves are ignored. Returns to the supplier are handled as refunds and linked to credit notes. - If more has already been invoiced than ordered/received, only return movements are linked, avoiding wrong links on over-invoiced lines. - When a receipt is validated after the bill was already created (for products invoiced on order), the module searches existing vendor bills or credit notes for that purchase line and links the stock movement to them automatically.

It touches purchase.order.line, stock.move and account.move.line, and relies on the standard purchase, stock and accounting screens rather than adding new menus.

Depends on

Models and fields (2)
  • stock.move · extends an existing model
  • purchase.order.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Create a Purchase Order and confirm.
  • Deliver its pickings totally or partially.
  • Create an invoice of the goods delivered.
  • If you open invoice form, you must see a smart-button labeled Delivery.
  • Click on this smart-button to see the linked pickings.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.