This module allows to show sales margin in invoices.
The new information is available:
- on the invoice form view
- and on the invoice tree view
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Shows the sales margin on customer invoices and credit notes, both per invoice line and per invoice, and adds a margin column to the invoice analysis report. Only users in the 'Show Invoice Margin' group can see these figures.
This module adds margin information to customer invoices and credit notes in Odoo. For each invoice line it shows the cost used, the margin amount, and the margin percentage. The cost is taken from the product's standard price and converted into the invoice currency when needed. The margin is the line subtotal minus the cost multiplied by the quantity; for credit notes the signed margin is negative.
On the invoice form, the cost, margin, and margin percentage appear in the invoice lines list and in the line detail form. The invoice total margin and margin percentage are shown near the tax totals. On the invoice list view, the signed margin and margin percentage columns can be displayed, and the signed margin can be summed.
A new 'Margin Analysis' measure is available in the invoice analysis report, based on the signed margin of the lines.
All these fields are only visible to users who belong to the 'Show Invoice Margin' group. The module also prepares existing invoices when installed, so margins are filled in for past customer invoices.
Depends on
Required by other modules
Models and fields (3)
- account.move · extends an existing modelmargin, margin_signed, margin_percent (Margin (%))
- account.move.line · extends an existing modelmargin, margin_signed, margin_percent (Margin (%)), purchase_price (Cost)
- account.invoice.report · extends an existing modelmargin (Margin Analysis)
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-03Confirmation status: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/margin-analysis.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0This module also adds a security group.
- To activate it go to user and active "Show Invoice Margin" in security options.
No verified information in OCA: Installation, Configuration.
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.
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.