OdooWiki OCA HUB

Shipment Advice Bill Auto Complete MRP

shipment_advice_bill_auto_complete_mrp folder_open OCA/stock-logistics-transport open_in_new
Invoicing Management License: AGPL-3

This is a glue module between mrp and shipment_advice_bill_auto_complete

It fixes the computation of the quantity to invoices for kits.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

This glue module makes the automatic invoice completion from shipment advices work correctly for kit products (phantom bills of materials) bought from suppliers.

When you buy a kit (a product made of several components, defined by a phantom bill of materials), the products that actually move in and out of stock are the components, not the kit itself. The base module shipment_advice_bill_auto_complete fills in invoice lines from shipment advices, but for kits the quantities could be wrong because the product on the stock move line is a component while the purchase order line refers to the kit.

This module corrects that calculation on account.move (customer invoices, vendor bills and credit notes). It looks at the purchase order line, checks that the quantity received is based on stock moves and that there are non-cancelled moves, then finds the phantom bill of materials of the purchased product. If a kit is found, it recomputes the quantity using the kit quantities, taking into account incoming moves from suppliers and outgoing moves that are refunds.

There are no new menus, screens, buttons or reports. The change is automatic and only affects the quantity proposed when completing an invoice from shipment advice data for kit products. It is installed automatically when both the shipment advice billing module and the manufacturing/purchase link are present.

Models and fields (1)
  • account.move · extends an existing model

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/stock-logistics-transport.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.