* Performance was very poor due to several reasons:
* City name translatable.
* Lack on indexes when deleting obsolete records.
* Some prefetching.
* City was not being searched also by state, having the chance of returning
incorrect matches if same city name on different states.
* Previous code was removing all previous records of zip entries!
* Remove possible obsolete FK keys after migrating from v11.
* [ENH] Migration of the 7.0 module partner_noncommercial.
This used to be part of therp-oe-staging modules, but seems
to be usefull for more organisations that are primarily or completely
non-commercial. The organisations might be put of by the commercial
lingo that is shown by default.
* [FIX] Add name / mail to contributors.
- Separate model (db) partially from user interface;
- Use demo data for performance, cleaner tests, and front end testing;
- Make sure tabs dependent on partner_category_id work.
Squashed commit:
[deb64245] OCA Transbot updated translations from Transifex
[4eee6a2b] OCA Transbot updated translations from Transifex
[4805b0c0] OCA Transbot updated translations from Transifex
* [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.