Skip to main content

Product Margin and Margin Rate

Project description

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.

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-product-standard-margin, version 12.0.1.0.0.99.dev7
Filename, size File type Python version Upload date Hashes
Filename, size odoo12_addon_product_standard_margin-12.0.1.0.0.99.dev7-py3-none-any.whl (48.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page