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. Invoicing
  3. Sale Invoice Discount Control v 19.0
  4. Sales Conditions FAQ

Sale Invoice Discount Control

by EBITDA Solutions LLP https://www.ebitdasolutions.com
Odoo
v 19.0 Third Party
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 404
Technical Name sale_invoice_discount_control
LicenseLGPL-3
Websitehttps://www.ebitdasolutions.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 404
Technical Name sale_invoice_discount_control
LicenseLGPL-3
Websitehttps://www.ebitdasolutions.com
Supports:
Community
Enterprise
Availability:
On Premise
Odoo Online
Odoo.sh

Sale Invoice

Discount Control

Ebitda Solutions

Hide Discount on Printed Reports | Per-Line Discount Visibility Control | Works on Sale Orders & Invoices

๐Ÿท๏ธ Per-Line Hide Discount Checkbox ๐Ÿงพ Invoice & Sale Order Reports โœ… Amounts Always Accurate

Control Discount Visibility on Sale & Invoice Reports โ€” Per Line.

Sale Invoice Discount Control is a custom Odoo 19 module built by Ebitda Solutions that adds a "Hide Disc. on Report" checkbox to every order line in both Sale Orders and Customer Invoices. When checked, the discount percentage is hidden from the printed report for that specific line โ€” while all amounts (subtotal, tax, total) remain fully correct. The discount is always visible in the UI for internal use; only the customer-facing printout is controlled.

๐Ÿ“ง support@ebitdasolutions.com ๐Ÿ“ž +92 311 6427867
๐Ÿท๏ธ Per-Line Hide Discount Checkbox

A "Hide Disc. on Report" checkbox is added to each order line in Sale Orders and Invoices โ€” giving full control over which lines show or hide the discount column on printed documents.

โœ… Amounts Always Correct

Hiding the discount on a report does not change any computed amount. Subtotals, taxes, and totals are always calculated correctly using Odoo's standard tax engine โ€” no overrides needed.

๐Ÿ”— Seamless Sale Order โ†’ Invoice Flow

The show_discount flag transfers automatically from Sale Order lines to Invoice lines when invoicing โ€” no need to re-configure anything after creating the invoice from a sale order.

KEY HIGHLIGHTS

๐Ÿท๏ธ

Hide Disc. on Report โ€” Per Line

A simple checkbox on each order line lets you control whether the Disc.% column prints for that line on the customer-facing report โ€” independently per line.

๐Ÿงพ

Works on Both Sale & Invoice Reports

The discount visibility control applies to both the Sale Order printout and the Customer Invoice report โ€” consistent behaviour across the full sales workflow.

โœ…

Totals Always Accurate

Hiding the discount never affects computed amounts. Odoo's standard tax engine calculates all subtotals and totals correctly โ€” the checkbox only controls report display.

๐Ÿ”—

Auto-Transfers to Invoice Lines

When a Sale Order is invoiced, the "Hide Disc. on Report" flag automatically carries over to each invoice line โ€” no manual re-configuration required after invoicing.

  • Screenshots
  • Features
  • Releases

Sale Order โ€” Hide Disc. on Report Checkbox

The Sale Order form shows a new "Hide Disc. on Report" column in the order lines. Each line has an independent checkbox โ€” here the bottle line has it checked (discount hidden on report) while the bag line does not. The Disc.% and all amounts remain fully visible in the UI regardless of this setting.

Sale Order Hide Discount Checkbox

Sale Order Printed Report โ€” Discount Hidden on Selected Line

On the printed Sale Order report (Order #S00015), the bottle line shows no Disc.% value in the DISC.% column because "Hide Disc. on Report" was checked โ€” while the bag line correctly shows 10.00. All totals ($22.77) remain accurate regardless of which lines hide their discount.

Sale Order Report Discount Hidden

Customer Invoice โ€” Hide Disc. on Report Auto-Transferred

When the Sale Order is invoiced, the "Hide Disc. on Report" flag transfers automatically to each invoice line. The invoice form (invoice177) shows the same per-line checkbox in the Invoice Lines tab โ€” bottle line has it checked, bag line does not. No manual re-configuration needed after invoicing.

Invoice Hide Discount Auto-Transferred

Invoice Printed Report โ€” Discount Hidden, Totals Correct

On the printed Customer Invoice (invoice177), the bottle line shows no Disc.% while the bag line shows 10.00 โ€” exactly matching the checkbox settings. The Untaxed Amount ($19.80), Tax 15% ($2.97), and Total ($22.77) are all computed correctly by Odoo's standard tax engine, unaffected by the discount visibility setting.

Invoice Report Discount Hidden Totals Correct

๐Ÿท๏ธ Per-Line "Hide Disc. on Report" Checkbox on Sale Order Lines

๐Ÿงพ Per-Line "Hide Disc. on Report" Checkbox on Invoice Lines

๐Ÿ”— Auto-Transfer of show_discount Flag from Sale Order to Invoice Line

๐Ÿ–จ๏ธ Disc.% Column Hidden Per Line on Printed Sale Order Report

๐Ÿ–จ๏ธ Disc.% Column Hidden Per Line on Printed Invoice Report

โœ… Column Alignment Preserved โ€” Empty <td> Placeholder Keeps Report Layout Intact

๐Ÿ’ฐ Subtotals, Taxes & Totals Always Accurate โ€” No Amount Override

๐Ÿ‘๏ธ Discount Always Visible in UI โ€” Only Customer-Facing Report is Controlled

Release 19.0.1.0.0

Initial Release
  • Add show_discount (Hide Disc. on Report) boolean field to sale.order.line
  • Add show_discount (Hide Disc. on Report) boolean field to account.move.line
  • Auto-transfer show_discount from Sale Order line to Invoice line on invoice creation
  • Override Sale Order report to hide Disc.% cell per line when show_discount is True
  • Override Invoice report to hide Disc.% cell per line when show_discount is True
  • Empty <td> placeholder inserted to maintain column alignment on printed reports
  • No amount computation overrides โ€” all subtotals and totals remain standard Odoo
  • Discount always visible in UI for internal use regardless of show_discount setting

Our Services

โš™๏ธ
Odoo Customization
๐Ÿ”ง
Odoo Implementation
๐Ÿ†˜
Odoo Support
๐Ÿ”„
Odoo Migration
๐Ÿงฉ
Odoo Integration
๐Ÿ’ฌ
Odoo Consultancy
๐Ÿ“œ
Odoo Licensing
๐Ÿ‘จโ€๐Ÿ’ป
Hire Odoo Developer
Sale Invoice Discount Control Banner

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, please use the developer contact information. They can usually be found in the description.
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