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

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.

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

File details

Details for the file odoo12_addon_product_standard_margin-12.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_product_standard_margin-12.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53464b59e9b7f2847162fdab4039e138852bb88c3dade0b48ca874bb961d9e14
MD5 7ca96b8c8b06d99847c405168020391d
BLAKE2b-256 84b092dea6aa194cc8a11543c23a7fed1d51f98823c87ad3bb33a2777248e949

See more details on using hashes here.

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