Include POS order discount in line instead of adding discount product.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds a setting in Point of Sale to apply the global discount directly on each order line instead of adding a discount product. When enabled, the discount percentage is written on every line.
This module extends the Point of Sale discount feature. In the Point of Sale settings, a new checkbox called "Add Discount in Line" appears next to the existing discount options. When you turn it on, the fields for choosing a discount product and a default discount percentage become hidden, because they are no longer needed.
At the Point of Sale screen, the discount button still asks for a percentage. If the new setting is active, that percentage is applied directly to every line of the current order as a line discount, and no discount product is added. If the setting is off, the original behaviour of the discount module is kept.
The module touches the pos.config model (where the setting is stored) and the res.config.settings model (where the checkbox is shown). It also changes the Point of Sale user interface through a JavaScript component that replaces the standard discount button behaviour. No new menus or reports are added.
Depends on
Models and fields (2)
- pos.config · extends an existing modelglobal_discount_in_line (Add Discount in Line)
- res.config.settings · extends an existing modelpos_global_discount_in_line
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/pos.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0In POS settings tick Add Discount in Line.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.