OdooWiki OCA HUB

Account Invoice Line Sale Line Position

account_invoice_line_sale_line_position folder_open OCA/account-invoice-reporting open_in_new
Sale License: AGPL-3

This module is build on top of the module sale_order_line_position.

It adds (if any) the sale line position on the invoice line. There can be multiple positions for one invoicing line. And they are added to the report.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows the sale order line position on invoice lines and on the printed invoice, so users can see which position of the original sale order each invoiced line comes from.

This module links invoices back to the sale order line positions defined by its parent module. On each invoice line, a new "Pos" value is computed from the positions of the related sale order lines. When one invoice line covers several sale lines, their positions are joined together with a slash.

Where it appears: - On the invoice form, a "Pos" column is added to the invoice lines list (hidden by default, so users can switch it on). The value is also shown in the line detail popup. - On the printed invoice report, a "Pos" column is added before the description column, but only when at least one invoice line has a position.

Business rules and automatic behaviour: - The position is only filled for product lines; section and note lines stay empty. - The invoice itself gets a flag telling whether any line has a position, which controls whether the column appears on the report. - Everything is recalculated automatically when the related sale order line positions change.

The module touches the invoice (account.move) and invoice line (account.move.line) models and extends the standard invoice report template. It does not add menus of its own.

Models and fields (2)
  • account.move · extends an existing modelhas_order_position
  • account.move.line · extends an existing modelposition_formatted

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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/account-invoice-reporting.

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.