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
    • Approvals
    • 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
    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. Sale Order Line Margin Pro | Color-Coded Margin Alerts & Minimum Margin Approval Gate v 19.0
  4. Sales Conditions FAQ

Sale Order Line Margin Pro | Color-Coded Margin Alerts & Minimum Margin Approval Gate

by Odonity https://www.odonity.com
Odoo

$ 59.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0
  • Description
  • Manifest
  • Documentation
  • License

Sale Order Line Margin Pro | Odonity

Color-Coded Margin Alerts & Minimum Margin Approval Gate

Odoo users have zero built-in margin tracking on sale orders. Even Enterprise users lack color-coded visibility and an enforceable minimum margin gate. Sale Order Line Margin Pro by Odonity closes both gaps — giving your sales team instant, visual margin awareness and your managers a real approval control point.

Track real-time margin on every sale order line with visual color alerts and enforce minimum margin rules with an approval gate.

Key Features

  • Real-time margin & margin % per line
  • Color-coded rows (Green / Orange / Red)
  • Minimum margin approval gate
  • Dedicated Margin Approver role
  • Order-level margin stats
  • Configurable thresholds per company
  • Works on Community & Enterprise

Perfect For

  • Sales Managers needing margin visibility
  • Companies enforcing pricing control
  • Finance Teams tracking profitability

Key Highlights

Live Margin Per Line

Margin and margin % are computed in real-time on every sale order line based on product cost and discounted selling price.

Color-Coded Rows

Instantly identify profitability with visual indicators — Green for healthy, Orange for warning, and Red for below minimum margin.

Approval Gate

Orders containing low-margin lines are blocked automatically and require approval from a designated Margin Approver.

Configurable Thresholds

Define your own margin rules per company directly from Sales configuration settings to match your business strategy.

Margin Color Logic

All thresholds are configurable per company. Defaults shown below.

Margin % Status Action
≥ 15% (healthy threshold) 🟢 Green — Healthy No action needed
≥ 5% (warning threshold) 🟡 Orange — Warning Review pricing
< 0% (minimum margin) 🔴 Red — Blocked Requires manager approval

Module Screenshots

Color-Coded Sale Order Lines
Margin Stats Bar
Minimum Margin Approval Request Gate
Minimum Margin Approval Gate
Margin Settings Configuration
Product Level Margin Settings
Approval Confirmation State
Sale Order List View with Margin

Watch Demo

Click to Watch Full Demo

Installation & Usage

  • Install like a standard Odoo module
  • Go to Sales → Configuration → Settings
  • Configure margin thresholds
  • Assign Margin Approver role
  • Create Sale Orders and monitor margin in real-time

Support & Customization

Need assistance or customization?

  • Email: odonity.services@gmail.com
  • Website: www.odonity.com
App by ODONITY — Smart Solutions for Smarter Business
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 468
Technical Name odnt_sale_margin_pro
LicenseSee License tab
Websitehttps://www.odonity.com

Sale Order Line Margin Pro | Color-Coded Margin Alerts & Minimum Margin Approval Gate

Real-Time Margin Tracking, Color-Coded Warnings & Approval Gate for Odoo Sales

This Odoo Sales extension by Odonity brings professional margin visibility and control to every sale order — available for both Community and Enterprise users.

Overview

Odoo Community provides no margin tracking on sale orders. Even Enterprise users lack color-coded warnings and a minimum margin enforcement gate. Sale Order Line Margin Pro fills that gap with a lightweight, clean, and fully configurable margin management layer built directly into the sales workflow.

Every sale order line shows real-time margin and margin % based on the product cost versus the discounted selling price. Color-coded rows instantly surface at-risk or below-minimum lines. When a line drops below the configured minimum margin, the order is blocked until a designated Margin Approver unlocks it.

Key Features

  • 💰 Real-time margin and margin % computed per sale order line
  • 🟢 Color-coded rows: green (healthy), orange (warning), red (blocked)
  • 🔴 Minimum margin approval gate — blocks confirmation until approved
  • ✅ Dedicated Margin Approver security group for controlled access
  • 📊 Order-level margin total and margin % in the stats bar
  • ⚙️ Configurable thresholds per company in Sales > Configuration > Settings
  • 🏢 Works on Odoo Community and Enterprise — no Enterprise dependency
  • 🔗 Pairs with Sale Discount Approval Pro (by Odonity) for a complete pricing governance suite

Margin Color Logic

Margin % Color
>= Healthy Threshold 🟢 Green
>= Warning Threshold 🟡 Orange
< Minimum Margin 🔴 Red

Default thresholds (configurable per company):

  • Healthy: 15%
  • Warning: 5%
  • Minimum: 0%

Installation

  1. Copy this module into your Odoo custom addons directory.
  2. Restart the Odoo server.
  3. Activate Developer Mode (Settings > Activate Developer Mode).
  4. Go to Apps, click Update Apps List.
  5. Search for Margin Pro and install.
  6. Go to Sales > Configuration > Settings to configure your margin thresholds.
  7. Assign the Margin Approver group to the relevant sales managers.

Usage

  1. Open any Sale Order or Quotation.
  2. Add products — the Margin, Margin %, and color coding appear automatically on each line.
  3. The stats bar shows the total order margin and margin %.
  4. If any line falls below the Minimum Margin and approval is required: - A warning banner appears on the order. - The order cannot be confirmed until a Margin Approver clicks Approve Margin.
  5. Approvers can also reset approval if pricing is revised.

Configuration

Navigate to Sales > Configuration > Settings > Margin Pro to configure:

  • Healthy Margin Threshold (%) — Lines at or above this show green (default: 15%)
  • Warning Margin Threshold (%) — Lines above minimum but below healthy show orange (default: 5%)
  • Minimum Margin (%) — Lines below this show red and trigger the approval gate (default: 0%)
  • Require Approval Below Minimum Margin — Toggle the approval gate on/off

Security Groups

  • Margin Approver — Can approve or reset margin approval on blocked orders. Assign to Sales Managers.

Companion Module

For complete pricing governance, pair with:

Sale Discount Approval Pro (by Odonity) — Approval gate for orders exceeding maximum discount thresholds. Together, these modules give your sales team full control over both discount and margin policies.

Support & Contact

Website: https://www.odonity.com

Email: odonity.services@gmail.com

About Odonity

Odonity builds business-ready Odoo applications focused on automation, productivity, and professional presentation.

Trusted by businesses worldwide for reliable and scalable Odoo solutions.

Odoo Proprietary License v1.1 - Strict Commercial Use

© 2026-Present Odonity. All Rights Reserved.

Module Name: Sale Order Line Margin Pro | Color-Coded Margin Alerts & Minimum Margin Approval Gate (By Odonity)

License Owner: Odonity (https://www.odonity.com)

Support Email: odonity.services@gmail.com

This software is protected by copyright laws and international treaties.
It is licensed, not sold. You are granted a **non-transferable,
non-sublicensable, and non-exclusive license** to use this software
ONLY under the terms below:

------------------------------------------
STRICT TERMS OF USE
------------------------------------------

PERMITTED:

- Use the module in one Odoo production instance only (with staging/test allowed only for that instance).
- Use for internal company operations.
- Request support, upgrades, or customization services from Odonity.

PROHIBITED WITHOUT WRITTEN PERMISSION FROM ODONITY:

- Modifying, altering, or extending the source code in any way.
- Reselling, sublicensing, or redistributing any part of the module.
- Sharing the code with third parties, including freelancers or other vendors.
- Uploading this module to public or private repositories, websites, or forums.
- Creating derivative works or using snippets in other modules.
- Using the module as a base to develop similar competing products.

WARNING:

This software contains **branding, code-level markers, and security
tracking** for anti-piracy purposes. Tampering with these or violating
this license may result in:

- Permanent termination of your usage rights
- Legal action under local and international intellectual property laws
- Immediate take-down notices for marketplaces and hosting providers

------------------------------------------
LICENSE VERIFICATION & SUPPORT
------------------------------------------

License Keys / Validation (optional): Odonity reserves the right to
implement license key checks in future versions.

Support is only available to verified license holders.

Invoice or proof of purchase must be retained for all license claims.

For official support, licensing clarifications, or enterprise usage,
please contact:

odonity.services@gmail.com | https://www.odonity.com

------------------------------------------

BY INSTALLING THIS MODULE, YOU AGREE TO BE BOUND BY ALL TERMS ABOVE.

Unauthorized use, reproduction, or redistribution is strictly prohibited.

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