Skip to main content

Default sales discount per partner

Project description

License: AGPL-3

Default sales discount per partner

This module allows to define at partner level a default discount to be applied on sales orders as the default one. As the field is a company dependent one, you can configure a different value for the partner for each of your companies.


Enabling the use of discounts in Odoo:

  1. Go to Sales > Configuration > Settings
  2. On the group “Quotations & Sales”, select the option “Allow discounts on sales order lines” for the “Discount” section.

Setting a default sales discount:

  1. Then, go to Sales > Customers.
  2. Create or modify a customer.
  3. Go to “Sales & Purchases” page.
  4. In the “Sale” section, there’s a field called “Default sales discount (%)” where you can fill the default discount percentage.
  5. This value can only be filled at company partners, not for contacts.


To use this module, you need to:

  1. Go to Sales > Quotations.
  2. Create a new quotation.
  3. Select a partner with a default discount applied.
  4. Create an order line, and you will see this discount as default in the line.
Try me on Runbot

Known issues / Roadmap

  • This module doesn’t work with product_visible_discount, as it overwrites the discount field with its own value.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.



  • Odoo Community Association: Icon.



Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo9-addon-partner-default-sale-discount, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo9_addon_partner_default_sale_discount- (12.6 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page