* [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.
- fax field removed from res.partner
- 2to3 on all py files
- add contributor and update README
- use hasclass in place of @class in xpath expr
- improve tests
[FIX] typo and clean README
* [MIG] inital work to 10.0
* [FIX] restore computed field
- select=1 is not usable anymore ...
* [FIX] convert _fields_sync to new api
* [FIX] restore form . import statement
* [FIX] readme with last template.
* [FIX] import statement.
* [FIX] check all tests
* [FIX] Flake8 errors fixes
* [FIX] flake 8
* [FIX] wrong obj call self -> self.contact_id
* [FIX] typo
* [FIX] flake 8
* [FIX] add index on contact_type
* [fix] use in statement on test
* [FIX] update base action with new context
* [FIX] test fixes
* [FIX] test work
* [FIX] flake 8 over indent
* [FIX] fixes on lastest comments
- better readability
- remove <data></data> tags
* [FIX] model that same pattern for _fields_sync
- add test ensure_once()
* [FIX] remove last data xml tags
* [FIX] fix action test
* [FIX] typo in import statement
* [FIX] remove logger from tests
* [FIX] new flake8 compute method name for OCA
* [FIX] minor typo
* [FIX] partner_contact_in_several_companies: remove contributor key in manifest
* [FIX] partner_contact_in_several_companies: residual onchange on partner view
* Revert "[FIX] partner_contact_in_several_companies: remove contributor key in manifest"
This reverts commit 56e511a9a7.
* [FIX] partner_contact_personal_information_page: clean manifest and authors
* [FIX] partner_contact_in_several_companies: required = True not needed
- Remove Domain Error on contact view.
- Additionally, improve behaviour of personal contact info page.
- Change to README.
- No longer dependent on partner_contact_personal_information_page
- Added tests for ir_actions
- Include extra demo data.
- Increase test coverage.
- Remove birthdate from demo data.
- Remove nationality and birthday features.
- Move the remaining features to partner_contact_in_several_companies.
- Make base_contact a dummy module.
- Warn deprecation everywhere possible.