Product Margin and Margin Rate

Technical Name:
product_standard_margin
License:
Author:
Camptocamp, GRAP
  • Odoo Version

Product Margin and Margin Rate

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

Add a field on the product form that compute the standard (or theorical) margin based on the current values of sale and standard price present in the product form. We take care of taxe included or excluded.

It will just compute it as follow: (Sale Price without tax - Standard Price) / Sale Price without tax

https://raw.githubusercontent.com/OCA/margin-analysis/12.0/product_standard_margin/static/description/product_form.png

Note:

As this module will base his simple computation on sale and cost prices, it suppose you have them both in the same currency (the price type must of the same currency for both of them). Remember this is the default OpenERP configuration (price type of all product price fields are set as the same as the company currency). We don't take care of it cause otherwise we should have added a dependency on sale module.

Table of contents

Known issues / Roadmap

  • This module will not work properly if used in a multicompany context with product prices depending on the company.
  • It should be great to use the odoo widget percentpie for the display of the field standard_margin_rate but for the time being, the field is not displayed properly. Ref of the Odoo Issue: https://github.com/odoo/odoo/issues/42869

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.

Credits

Authors

  • Camptocamp
  • GRAP

Maintainers

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:

legalsylvain

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.