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

OCA / partner-contact / 1430
95%

Build:
DEFAULT BRANCH: 9.0
Ran 08 Nov 2016 01:42PM UTC
Jobs 2
Files 38
Run time 2min
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

pending completion
1430

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.

20 of 20 new or added lines in 2 files covered. (100.0%)

967 of 984 relevant lines covered (98.27%)

1.97 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1430.3 (TESTS="1" ODOO_REPO="odoo/odoo") 08 Nov 2016 01:42PM UTC 0
98.27
Travis Job 1430.3
4 1430.4 (TESTS="1" ODOO_REPO="OCA/OCB") 08 Nov 2016 01:44PM UTC 0
98.27
Travis Job 1430.4
Source Files on build 1430
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1430
  • b67c1f42 on github
  • Prev Build on 9.0 (#1389)
  • Next Build on 9.0 (#1432)
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