OCA/margin-analysis
OCA community repository with 19 Odoo modules confirmed in the OdooWiki catalogue (versions 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0). Reviewed on 2026-11-03.
Open on GitHubConfirmed modules per version
Modules in the repository
- Account Invoice MarginOdoo 12, 13, 14, 15, 16, 17, 18, 19account_invoice_margin
Shows 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.
- Account Invoice Margin SaleOdoo 12, 13, 14, 15, 16, 17, 18, 19account_invoice_margin_sale
When invoices are created from sales orders, the cost price of each product is copied onto the invoice line so the margin can be calculated. Down-payment lines are excluded from margin calculations and shown with a zero margin.
- Account Invoice Margin Sale Delivered SyncOdoo 12, 13, 15account_invoice_margin_sale_delivered_sync
Keeps the cost price used for margin on customer invoices in line with the delivered cost from the related sales order, and lets you choose whether posted invoices are updated too.
- Loyalty Margin ComputationOdoo 18loyalty_margin_computation
Adds a Python formula field to loyalty rewards so a margin can be calculated from a reward. It is a technical building block meant to be extended by other modules.
- Product Margin ClassificationOdoo 12, 16product_margin_classification
Create margin classifications that define a target sale price from cost, markup, rounding and surcharge, then see which products are priced correctly, too cheap or too expensive and update their sale prices in one click.
- Product Pricelist MarginOdoo 12product_pricelist_margin
Shows the product cost and the resulting margin (amount and percentage) directly on pricelist rules, so you can see profitability while setting prices.
- Product Replenishment CostOdoo 12, 16, 18product_replenishment_cost
Adds a "Replenishment cost" field to product variants, showing what it would cost to buy or produce the product again. By default it simply copies the product's Cost Price.
- Product Margin and Margin RateOdoo 12, 14, 15, 16, 18, 19product_standard_margin
Shows the margin, margin rate and markup rate directly on the product form and product list, calculated from the sale price (tax excluded) and the cost price you enter.
- Product Standard Margin SecurityOdoo 16, 18product_standard_margin_security
Restricts who can see product margin information in Odoo. Only users with the product cost permission group can view the standard margin, margin rate, markup rate and VAT-excluded price fields.
- Sale Elaboration MarginOdoo 13, 15, 18sale_elaboration_margin
Adds elaboration cost, price and margin information to sale order lines, so users can see the margin generated by the elaboration products linked to a sale line.
- Sale Margin DeliveredOdoo 12, 13, 15, 16, 17, 18sale_margin_delivered
Adds delivered margin figures to sales order lines and the sales analysis report, based on the actual cost of the goods that were shipped or returned.
- Sale Margin Delivered DropshippingOdoo 16, 18sale_margin_delivered_dropshipping
Extends the delivered margin calculation on sale order lines so that dropshipped products are included. It is installed automatically when both the delivered margin and dropshipping features are present.
- Sale Margin Delivered - Sale Margin SecurityOdoo 16, 18sale_margin_delivered_security
This module automatically restricts the delivered margin fields on sales order lines to users who belong to the product cost security group, so only authorised staff can see purchase price and delivered margin information.
- sale_margin_delivery_cost
Add extra expected costs (like shipping, packaging or customs) to a sales order and see the real margin after them. You can also choose whether shipping is charged as a normal order line or kept as an estimated cost.
- sale_margin_pricelist_computation
Lets you write small Python formulas on a pricelist rule to define how the cost price and the sale price used for margin are calculated on sale order lines.
- Sale Margin SecurityOdoo 12, 13, 14, 15, 16, 17, 18, 19sale_margin_security
Restricts who can see sale margin information in sale orders and sales analysis. Only users with the product cost security group can view margin, margin percentage, and purchase price fields.
- Sale margin syncOdoo 12, 13, 14, 15, 16, 18sale_margin_sync
Keeps the cost used for sale margin up to date: when the cost recorded on a stock valuation entry changes, the linked sales order line's cost is updated automatically so margins stay correct.
- Sale Order Margin PercentOdoo 12, 13sale_order_margin_percent
Adds a margin percentage to sales orders and to each order line, so users can see profitability as a percentage of the untaxed amount instead of only an absolute margin value.
- Sale Report MarginOdoo 12, 13, 14, 15, 16, 17, 18, 19sale_report_margin
Adds a purchase price (cost) column to the Sales analysis report, so users can see the cost of the products sold alongside sales figures.