OdooWiki OCA HUB

Purchase Order Line Invoicing

purchase_order_line_invoicing folder_open OCA/purchase-workflow open_in_new
Uncategorised License: AGPL-3

This module allows to invoice lines of multiple purchase orders from a single supplier.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets purchase users select lines from several purchase orders of the same supplier and create one single vendor bill for them, instead of invoicing each order separately.

This module adds a way to group purchase order lines from the same supplier into one vendor bill.

  • On a supplier's contact form, a new "Purchase Lines" button shows how many purchase order lines exist for that supplier (including child contacts) and opens the list of those lines.
  • From the list of purchase order lines, users can run the "Create Invoice" action. A wizard opens showing each selected line with its order, product, description, unit price, ordered quantity, received quantity, already invoiced quantity and subtotal.
  • The wizard pre-fills the "Quantity to Invoice" on each line with the quantity received minus the quantity already invoiced (never below zero), and users can adjust it.
  • A check prevents mixing lines from different suppliers: all selected lines must belong to one supplier, otherwise an error is shown. If no line is selected, an error is also shown.
  • Clicking "Create Invoice" creates a vendor bill (in_invoice) for that supplier, using the supplier's fiscal position and a purchase journal matching the company and currency, and sets the bill's origin to the names of the involved purchase orders. The bill lines are built from the purchase order lines, and the user is taken to the created bill.

The module touches res.partner, purchase.order.line and account.move, and is available to purchase users.

Depends on

purchase
Models and fields (3)
  • res.partner · extends an existing modelpurchase_order_lines_count
  • purchase.order.line.invoice.wizard · new modelpurchase_order_line_details_ids
  • purchase.order.line.invoice.details · new modelname, order_id, wizard_id, price_unit, product_id, currency_id, invoice_qty (Quantity to Invoice), product_qty, qty_invoiced, qty_received, price_subtotal, purchase_order_line_id

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to:

Go to the vendors form and clic on purchase order lines button. Thereafter select lines you want to invoice and clic on Action/Create Invoice. A wizard will open. Introduce the quantity to invoice for each lines and then create the invoice.

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.