Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Sales
  3. Product Discount Limit & Cost Price Protection v 20.0
  4. Sales Conditions FAQ

Product Discount Limit & Cost Price Protection

by Scriptonix https://www.scriptonix.com
Odoo

$ 2.21

v 20.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Scriptonix Logo
Product Discount Limit and Cost Price Protection for Odoo: maximum discount and minimum price per product or category on sales order lines

Product Discount Limit & Cost Price Protection

Set the highest discount allowed on each product or product category, and the lowest price it may be sold at: its cost plus a minimum margin. Sales order lines that break a rule are refused on save, with a clear message, unless the user has the right to exceed the limits.

✔ Works on Odoo Community ✔ Works on Odoo Enterprise No Enterprise app required
🚀 Explore Features

Compatibility

☁️

Odoo.sh Ready

🖥️

On-Premise Supported

👥

Community Edition

✔ Fully supported

🌟

Enterprise Edition

✔ Fully supported

  • Features
  • Screenshots
  • Scriptonix Overview
  • Support

Top Features

🏷️
Maximum discount per product

Set a Maximum Discount (%) on the product. Leave it at 0 to use the limit of its category.

🗂️
Maximum discount per category

One limit for every product of a category that has no limit of its own.

💰
Minimum price above cost

The net unit price of a line, after discounts and without taxes, must cover the cost plus a Minimum Margin (%) set on the product or the category.

🧮
Whole-order discounts counted

A percentage or a fixed amount added with the Discount button of the quotation counts on every product line.

⚡
Warning while typing

The salesperson sees a warning as soon as a line breaks a rule, and the order cannot be saved until it is fixed.

🛡️
Checked on the server

Imports, API calls, pricelist updates and copied orders are checked like the order form.

🔑
Exceptions by right

Only users with the Exceed Discount and Price Limits right may go beyond the limits. Nobody has it after install.

🌍
Currencies, units, companies

The cost of the order's company, converted to the order currency and to the unit of measure of the line. Prices with taxes included are compared without their taxes.

How It Works

  1. Install. Install the app. Every category starts with a minimum margin of 10%; there is no discount limit until you set one.
  2. Set the limits. As a sales administrator, open a product (Sales tab) or a product category and fill in Maximum Discount and Minimum Margin.
  3. Sell. Salespeople get a warning while typing a line that breaks a rule, and the order is refused on save until it is fixed.
  4. Allow exceptions. Give the right Exceed Discount and Price Limits to the users who may go beyond the limits.

Product Tour

🏷️ Limits on the product

Sales administrators set the maximum discount and the minimum margin in the Sales tab of the product. 0 means: use the category.

Odoo 20 product form with the Discount Settings: maximum discount 15 percent and minimum margin 25 percent
🗂️ Limits on the category

The same two settings on the product category, for all its products without values of their own.

Odoo 20 product category form with a maximum discount of 10 percent and a minimum margin of 20 percent
⚡ Warning while typing

A discount of 20% typed on a chair limited to 15%: the warning names the product, the limit and what to do.

Odoo 20 quotation line with a discount above the product limit and the warning shown at once
🛡️ Refused on save

The order cannot be saved with the line above the limit. Discard or lower the discount.

Odoo 20 validation error when saving a quotation with a discount above the maximum
💰 Price below the minimum

A desk with a cost of 380.00 and a category margin of 20% may not go below 456.00, discount included.

Odoo 20 warning for a net unit price below the cost plus the minimum margin
🧮 Discount on the whole order

Thirty percent added with the Discount button of the quotation is counted on each line: 37% on the desk, refused.

Odoo 20 global discount of the quotation refused because it breaks the limit of a product line
🔑 The right to exceed the limits

Settings > Users: give Exceed Discount and Price Limits to the people who may grant exceptions.

Odoo 20 user form with the Discount Limits right set to Exceed Discount and Price Limits

Why Choose Scriptonix?

Scriptonix offers powerful features and unmatched ease of use. Our customers love us for:

🎯
Tailored Odoo Solutions

Unlock business potential with custom Odoo modules designed to fit your unique needs.

🔄
Seamless Project Handling

Experience smooth project execution, ensuring your ERP projects are handled with precision.

🛠️
Continuous Support & Maintenance

We provide ongoing support and maintenance, ensuring your system operates at peak efficiency.

✨
Customization Excellence

Scriptonix excels in customizing Odoo modules to align with your specific business requirements.

Frequently Asked Questions

Does Odoo not do this already?

No. Odoo 19 and 20 can switch line discounts on or off for everybody, and a pricelist rule can keep its computed price above a margin, but neither limits the discount per product or category, nor refuses a price typed below cost.

Which Odoo versions and editions are supported?

Odoo 19 and Odoo 20, Community and Enterprise, on Odoo.sh and on-premise. Odoo Online (SaaS) does not accept third-party apps.

How is the minimum price computed?

Cost of the product in the company of the order x (1 + minimum margin / 100), converted to the order currency and to the unit of measure of the line, and compared with the unit price after discounts and without taxes. The margin is a markup on the cost. A product without cost is not checked.

What do 0 values mean?

Maximum Discount 0 on the product uses the category limit; 0 there too means no limit. Minimum Margin 0 on the product uses the category value; with 0 on both, the price may still not go below the cost. Parent categories are not looked at.

Do pricelist discounts count?

Yes. A discount shown in the Discount column by a pricelist counts like a typed one. With the Discounts setting off, a pricelist reduction is part of the unit price and only the minimum price applies.

Which lines are not checked?

Sections and notes, lines without a product, down payments, costs re-invoiced from vendor bills or expenses, loyalty and promotion rewards, and negative lines typed by hand. Confirming an order does not check it again.

Does it cover the online shop, invoices or the Point of Sale?

Orders made by the online shop are sales orders and are checked too: keep shop prices above the minimum, or the visitor cannot add the product to the cart. Invoices and the Point of Sale are not covered.

What changes when I update from version 1.0?

Your limits, margins and orders stay as they are. New products now start with a margin of 0, so they follow their category (version 1.0 gave every product 10%, so the category value was never used); a product without a category is then only held to its cost. Orders already saved are not checked again until a line is changed.

Who may exceed the limits?

Only users with the Exceed Discount and Price Limits right (Settings > Users, section Sales). Nobody has it after install, sales administrators included. The right is checked for the user who saves the change.

How do I get help?

Write to info@scriptonix.com. Support for the advertised features is free for 90 days after purchase.

Before You Buy

  • Check that the app matches your Odoo version, edition and hosting before buying.
  • Compatibility with third-party or custom modules is not guaranteed. Ask us first at info@scriptonix.com; we answer before you buy.
  • Because the source code is delivered at purchase, we do not offer refunds for change of mind or for incompatibility that was not checked with us before buying. Refund requests are handled under the Odoo Apps refund policy.
  • 90 days of free support for bugs in the advertised features. Customisation is quoted separately.
  • Version 1.1.0 – tax-included prices compared without tax; cost of the order's company, in the unit of the line; a price exactly at the minimum accepted; discounts of the whole order counted; re-invoiced costs and loyalty rewards no longer refused; new products follow the category margin; warning while typing; right to exceed the limits; clearer messages; house manifest, license, tests and listing.
  • Version 1.0 – initial release.

90 Days Free Support

Enjoy 90 days complimentary support to help you with installation, guidance, and troubleshooting — so you can stay focused on success.

Support Image

Need help with installation or customization?
📧 Email: info@scriptonix.com
🌐 Website: www.scriptonix.com

QR Code to the Scriptonix website

Scan to visit our website

© 2026 Scriptonix | All rights reserved

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 208
Technical Name spx_sale_discount_limit
LicenseOPL-1
Websitehttps://www.scriptonix.com
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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with