Skip to main content

Sale Margin Delivered

Project description

Production/Stable License: AGPL-3 OCA/margin-analysis Translate me on Weblate Try me on Runbot

Computes sale order lines margins for the delivered items.

Table of contents


To grant Sales Margin view privileges to a user, go to Settings > Users & Companies > Users, select the user and set Show Sale Margin on.


  1. Go to Sales > Orders > Quotations.
  2. Create a new Sales Order and add a line with an stockable product. Set a quantity higher than one.
  3. Confirm the Sales Order and deliver just a partial amount of product in the picking.
  4. Go to Sales > Reporting > Sales and unfold the Order Reference dimension and the Margin and Margin Delivered to compare them.

For example:

In an order line with a product at a cost of 10 and a sell price of 25 we deliver 2 of 3 units. Then, the reported margins would be:

margin: 45 (3 * 15) margin_delivered: 30 (2 * 15)

Additionally, you can check the margin and the margin percent in the sales order line.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Tecnativa


This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:


This module is part of the OCA/margin-analysis project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo12-addon-sale-margin-delivered, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo12_addon_sale_margin_delivered- (27.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page