Skip to main content

Sale Margin Delivered

Project description

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

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 to smash 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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page