• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / partner-contact / 1430 / 3
95%
9.0: 95%

Build:
DEFAULT BRANCH: 9.0
Ran 08 Nov 2016 01:42PM UTC
Files 38
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Nov 2016 01:37PM UTC coverage: 98.272% (+0.04%) from 98.237%
TESTS="1" ODOO_REPO="odoo/odoo"

push

travis-ci

Yajo
[ADD] partner_default_sale_discount (#322)

* [ADD] partner_default_sale_discount

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.

Configuration
=============

Enabling the use of discounts in Odoo:

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

Setting a default sales discount:

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

Usage
=====

To use this module, you need to:

* Go to Sales > Quotations.
* Create a new quotation.
* Select a partner with a default discount applied.
* Create an order line, and you will see this discount as default in the line.

Known issues / Roadmap
======================

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

967 of 984 relevant lines covered (98.27%)

0.98 hits per line

Source Files on job 1430.3 (TESTS="1" ODOO_REPO="odoo/odoo")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1430
  • Travis Job 1430.3
  • b67c1f42 on github
  • Prev Job for TESTS="1" ODOO_REPO="odoo/odoo" on 9.0 (#1389.3)
  • Next Job for TESTS="1" ODOO_REPO="odoo/odoo" on 9.0 (#1432.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc