Skip to Content
Menu

Pragtech - Markup and Margin Percentage

by
Odoo

24.96

v 18.0 Third Party
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Sales (sale_management)
Discuss (mail)
Invoicing (account)
Lines of code 48
Technical Name pragtech_sale_markup
LicenseOPL-1
Websitehttp://pragtech.co.in
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Sales (sale_management)
Discuss (mail)
Invoicing (account)
Lines of code 48
Technical Name pragtech_sale_markup
LicenseOPL-1
Websitehttp://pragtech.co.in

Compatible with Odoo v18


Set ‘markup’, see ‘margin’ instantly

The pragtech_sale_markup is a custom module designed to empower sales teams with precise pricing control by introducing Cost Price, Markup % and Margin % fields directly in the Sale Order Line.

This feature allows users to set a markup percentage, automatically calculate the selling price and instantly view the profit margin - all within the sales order form ensuring informed and consistent pricing decisions without leaving the Odoo interface.

Smarter pricing. Better margins. Right inside Odoo.


Everything you need for confident pricing


Cost price display

Automatically fetches and shows the product’s standard cost price on each sale order line.

Manual markup percentage input

Allows users to enter a markup percentage manually to adjust the sale price.

Automatic price calculation

Calculates the sale price unit dynamically using the formula: price_unit = cost_price * (1 + markup / 100) to reflect markup over cost.

Margin percentage calculation

Automatically computes the profit margin percentage based on cost price and sale price.

Input validation

Prevents negative markups so your team doesn’t enter wrong values by mistake.

Dynamic margin update

Updates the margin field immediately when price, cost or markup changes, providing real-time feedback.

Seamless Odoo integration

Extends the standard sale order line model without breaking existing functionalities by using method inheritance.

User-friendly pricing controls

Simplifies pricing strategy by allowing cost-based pricing adjustments directly on the sale order line.


Installation

To install the module, you need to go to the Apps menu and remove the filter from the search bar and type the module name pragtech_sale_markup, and click on the Activate button.

Workflow

When a Sale Quotation is created and a product is added, the Markup % field becomes available; entering a value in this field automatically recalculates the Unit Price based on the product’s Cost Price, and the Margin % is also computed to reflect the profit percentage.

When entering a negative value in the Markup % field while creating or editing a Sale Quotation, the system will not allow the entry and will immediately display a popup error message stating that the markup percentage should not be negative. This validation helps prevent incorrect pricing and ensures only valid positive markup values are accepted.



Instantly Calculate Markup & Margin in Odoo Sales Orders

Empower businesses through intelligent, cost-effective solutions

Modern businesses face complex challenges. Our Odoo apps are designed to turn those challenges into opportunities - making your workflows intuitive, efficient and scalable. Crafted to make your business run smoother, faster and smarter.

Experience the difference of solutions built for real business needs, not just features.



The “Markup %” is a manual input field. When entered, it calculates the sale price (price_unit) using the formula:
Sale Price = Cost Price × (1 + Markup / 100)

If the markup is not set, the system falls back to using the product’s list price (list_price) as the sale price.

3. Can I enter a negative value in the Markup % field?

No, entering a negative markup will raise a validation error to prevent accidental price reductions below cost.

4. What is the “Margin %” field and how is it calculated?

The “Margin %” shows the profit margin relative to the sale price. It is automatically calculated using the formula:
Margin % = ((Sale Price - Cost Price) / Sale Price) × 100

5. Will the sale price update automatically if I change the markup?

Yes, the price_unit (sale price) will update automatically whenever you set or change the markup percentage.


Pragtech - Markup and Margin percentage

One-time Setup | 90 Days Support | Multilingual Compatibility


What's included in this

User Manual for Easy Onboarding

90 Days Support (Monday to Friday, 10 AM – 7 PM IST)

One-Time Setup for Seamless Integration


We support for English / French / Spanish at an additional cost

Works & tested on standard installations of Odoo with no third party apps

Free support only for odoo installations with no third party apps

Paid support availaible for Odoo installations with third party apps.

Our Service Offerings

Odoo Dedicated Resources
Odoo Success Packs
Odoo Turnkey Projects

Get Instant Personalized Demo

EMAIL
WHATSAPP
CONTACT

Powerful apps, seamless integrations and expert support.

Optimize your business with our perfect Odoo strategy.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.