Product Margin and Margin Rate
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
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
- 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
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.
This module is maintained by the OCA.
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.
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.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo12_addon_product_standard_margin-220.127.116.11.0.99.dev7-py3-none-any.whl (48.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for odoo12_addon_product_standard_margin-18.104.22.168.0.99.dev7-py3-none-any.whl