This module allows to set a general discount in a sales order. This general discount is set to each line order in the standard discount field.
You can configure:
- a default general discount on customers
- On each product define if general discount is applied
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a general discount field on sales orders that automatically fills the discount on every order line, with a default discount per customer and an opt-out flag per product.
This module lets you apply one discount percentage to a whole sales order instead of typing it line by line. On the sales order form, next to the totals, a new "Discount (%)" field appears; when you change it, the discount of the order lines is updated automatically.
- Each customer can have a default discount, set on the customer form in the Sales & Purchases tab. When you pick that customer on a sales order, the general discount is filled in with that value.
- Each product can be marked with "Don't apply general discount". Products marked this way keep their own line discount and are not overwritten by the order's general discount.
- Down payment lines are also left untouched by the general discount.
The module touches sale.order, sale.order.line, res.partner, product.product and product.template. The customer discount is company-dependent, so different companies can hold different default discounts for the same customer. On product templates with several variants the opt-out checkbox is hidden and is managed per variant.
Depends on
Required by other modules
Models and fields (5)
- sale.order · extends an existing modelgeneral_discount
- res.partner · extends an existing modelsale_discount
- product.product · extends an existing modelbypass_general_discount
- sale.order.line · extends an existing modeldiscount
- product.template · extends an existing modelbypass_general_discount
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Installation
Source · Odoo 19.0You need to install sale_management module for accessing the needed menus.
Usage
Source · Odoo 19.0To use this module, you need to:
- Create a sale order and set a discount, this discount will be set in all lines.
- You can set a discount in a partner.
- On product you can define if you apply general discount on sale order line linked to that product
No verified information in OCA: 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.