cd3f52ba10
By default, when reading a m2m field, entries that are deactivated in the destination table are not included. This behavior is desirable in some cases (e.g. for "tags" or "categories", but not for entries that significantly impact other field values in the parent record, such as taxes. The problem is rather obvious: when displaying a paid invoice that used taxes that are now deactivated, the taxes are hidden while they still affect the computed amount. And after cancelling + resetting to draft, the tax is not taken into account anymore, while still being linked. Forcing the field-level (python) domain to include both active and inactive entries solves the problem: - when reading, displaying and recomputing values, deactivated taxes will be included. - when trying to pick a tax, deactivated entries will still be ignored, as expected. This commit applies the technique to all m2m fields that refer to taxes. Fixes #12066 opw-677751 |
||
---|---|---|
.tx | ||
addons | ||
debian | ||
doc | ||
openerp | ||
setup | ||
.gitignore | ||
.mailmap | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
odoo.py | ||
openerp-gevent | ||
openerp-server | ||
openerp-wsgi.py | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
README.md
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/8.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review