Product Margin and Margin Rate

Product Margin and Margin Rate

by Contaura LLC · original work by Camptocamp, GRAP, OCA
product_standard_margin
$ 29.00

1.0

One purchase covers every version. Already bought it? Sign in.

Product Margin and Margin Rate

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

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 tulio 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 Tulio Issue:
Technical nameproduct_standard_margin
Module version12.0.1.0.1
Tulio versions1.0
CategoryInventory
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsCamptocamp, GRAP, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Requires (Tulio core)account
Lines of code240
Downloads0
Released12/06/2026
12.0.1.0.1 Tulio 1.0 · 12/06/2026