OdooWiki OCA HUB

Sale Order General Discount Payment Term

sale_order_general_discount_payment_term folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module allows to set a general discount in a payment term. This discount will be calculated on a sale order, when that payment term is selected.

If payment term selected hasn't a discount, but partner has, will apply that one.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you store a default general discount on each payment term, which is automatically applied to the general discount of any sale order using that payment term.

This module links payment terms to the general discount used on sale orders. On the payment term form (Accounting configuration), a new "Discount (%)" field is added next to the company field, so you can record a percentage discount per payment term and per company.

When a sale order is created or its payment term is changed, Odoo automatically looks at the discount stored on the selected payment term. If that payment term has a discount, it is copied into the order's general discount. If the payment term has no discount, the standard behaviour of the general discount module is used instead (for example, a discount coming from the customer).

  • New field: Discount (%) on account.payment.term, company-dependent and tracked in the chatter.
  • Automatic rule: the sale order's general discount is recomputed whenever the payment term changes.
  • Fallback: when the payment term has no discount, the usual general discount logic applies.

The module touches account.payment.term and sale.order. It does not add new menus or reports; the new field appears directly on the existing payment term form.

Models and fields (2)
  • sale.order · extends an existing model
  • account.payment.term · extends an existing modelsale_discount (Discount (%))

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

To use this module, you need to:

  • Set a discount on payment term.
  • When you choose that payment term on sale order, that discount will be calculated.

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.