OdooWiki OCA HUB

Sale Order Disount Fast Change UI

sale_order_discount_fast_change_ui folder_open OCA/sale-workflow open_in_new
Sales License: LGPL-3

This module disables the slow odoo discount change wizard interface and replaces it with a non transactional faster one: Apply Global Discount.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds an 'Apply Global Discount' button on sales orders that opens a quick pop-up to set one discount percentage on order lines, replacing the slower standard discount wizard.

This module gives sales users a faster way to apply a discount to a whole sales order. On the sales order form, a button named 'Apply Global Discount' appears for users who have the discount-per-line permission, and only while the order is in draft, sent or sale state.

Clicking the button opens a small pop-up titled 'Global Discount Amount' with two fields: the discount percentage and a policy choice. The policy decides whether the discount is applied only to lines that currently have no discount, or to all order lines. The default policy is to apply only on not discounted lines.

Pressing 'Apply' writes the entered percentage directly onto the matching order lines, without going through the standard transactional discount wizard. The module also replaces the standard discount wizard screen with a plain form view, so the old slow interface is no longer used.

It touches the sales order model sale.order and adds a new helper model sale.order.discount.fast.change. Access is granted to the standard salesperson group. No reports, emails or scheduled jobs are added.

Depends on

sale
Models and fields (1)
  • sale.order.discount.fast.change · new modeldiscount (Discount (%)), application_policy (Discount Application Policy)

Text generated by AI (DeepSeek) from reading the Odoo 14.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 14.0

At the bottom of the sale order, click the Apply Global Discount button and enter the desired discount.

No verified information in OCA: Installation, Configuration.

info

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.