Skip to main content

Product Margin Classification

Project description

License: AGPL-3

Product Margin Classification

This module is designed to extend Sale Price computation in Odoo.

This module add a new model ‘Margin Classifications’ linked to Product Templates.

A margin classification has a margin field (and fields to manage rounding method, like Pricelist Item model).

If product has a margin classification defined, an extra field ‘Theoretical Price’ is displayed, based on the Margin and the Cost Price.

If the theoretical price is not the same as the sale price, a button is available to change sale price.


On the Margin classification Form, user can change computation fields. (Margin, Rounding method, …) Three buttons are available to apply theoretical prices to all products, or only for products that have a too big or too little real margin.


User can so see easily products with incorrect margins and fix them massively :



You could be interested by native Pricelist functionnalities, setting sale prices based on Cost prices. The main problem of this design is that sale price change automaticaly when cost price changes, that is not desired in some user cases. For exemple, if you have a shop, you want to changes sale prices when customers is not in the shop, and after having changed labels in the shop.


Normal installation.


Once Installed

  • Go to : ‘Sale’ / ‘Products’ / ‘Margin Classifications’
  • Create new classifications
  • Set classification to your products


Try me on Runbot

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.



  • Odoo Community Association: Icon.



Odoo Community Association

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.

To contribute to this module, please visit

Project details

Release history Release notifications

This version
History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
odoo8_addon_product_margin_classification- (234.2 kB) Copy SHA256 hash SHA256 Wheel py2 Jun 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page