v 8.0 v 10.0 v 12.0 Third Party 1227
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 125
Technical Name product_standard_margin
LicenseAGPL-3
Websitehttps://github.com/OCA/margin-analysis
Versions 8.0 10.0 14.0 12.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 125
Technical Name product_standard_margin
LicenseAGPL-3
Websitehttps://github.com/OCA/margin-analysis
Versions 8.0 10.0 14.0 12.0 16.0

Product Margin and Margin Rate

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

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp
  • GRAP

Contributors

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.