summaryrefslogtreecommitdiff
path: root/addons/account_tax_python/__init__.py
AgeCommit message (Collapse)Author
2020-03-30[FIX] *: set ondelete policy of required Selection fieldsAdrian Torres
With this commit, Selection fields with `required=True` which are extended via `selection_add` are given proper ondelete policies to ensure the cleanup of records containing these extended options during uninstall of the extending module. This commit also cleans up leftover uninstall hooks that were being used to handle the same set of problems prior to the ondelete mechanism being implemented for Selection fields. closes odoo/odoo#46325 Related: odoo/enterprise#9117 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-02-13[FIX] account_tax_python: uninstallVictor Feyens
When some existing taxes are defined with amount_type = "code", the module uninstallation will leave the current data inconsistent. Add an uninstall hook archiving the given taxes, logging the problematic records ids. Fixes #45240 closes odoo/odoo#45338 X-original-commit: 16e000b5dcc93a3c90a7d1b6d9d9a6097d5a9849 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-08-03[MIG] account_tax_python: remove openerp tag, add license, clean imports and ↵fwi-odoo
lint spaces
2016-08-03[MOV] account_tax_python: reorganize files according to guidelinesfwi-odoo
2015-05-05[IMP] accounting v9. Yeeeeaahqdp-odoo