OdooWiki OCA HUB

Shipment Advice Bill Auto Complete

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

This module adds the possibility to generate vendor bill lines from incoming shipment advice. Only shipment advice that are in state done can be selected.

Shipment advice related to multiple suppliers are not supported.

The bill lines are generated from the shipment move line and NO check are being done to prevent over billing. The bill needs to be checked manually.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you fill a draft vendor bill automatically from a completed incoming shipment advice, creating bill lines from the received goods.

On a draft vendor bill (in_invoice) or vendor credit note (out_refund), a new "Auto-Complete Shipment" field appears next to the vendor bill reference. You pick a shipment advice that is in state done and has no bill yet; the module then creates the bill lines for you.

  • Only incoming shipment advices are accepted, and only those not already linked to a bill.
  • If the shipment advice has several suppliers, a warning is shown and nothing is generated.
  • If the bill already has a vendor, it must match the shipment's supplier; otherwise the field is ignored. If the bill has no vendor, it is set from the shipment.
  • Lines are built from the purchase order lines behind the shipment's done stock moves, using the received quantities, and the vendor, currency, origin and reference are filled in.
  • Lines already coming from the same shipment advice are removed before regenerating, so re-selecting does not duplicate them.

On the shipment advice itself you can see the related supplier(s), the linked bill and a read-only "Bill Lines" list. When a bill is created or later modified from a shipment advice, a message is posted in the bill's chatter with a link to the shipment advice. No over-billing check is performed, so the bill must be reviewed manually.

Depends on

accountpurchaseshipment_advice
Models and fields (3)
  • account.move · extends an existing modelshipment_advice_auto_complete_id
  • shipment.advice · extends an existing modelsupplier_ids, account_move_id, invoice_line_ids (Bill Lines)
  • account.move.line · extends an existing modelshipment_advice_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/stock-logistics-transport.

terminal Installation and usage

OCA documentation · Odoo 14.0

On vendor bills a new autocomplete field is available to select an incoming shipment advice to invoice. When selecting a shipment advice the necessary invoice lines will be generated.

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.