diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-31 12:57:00 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-31 12:57:38 +0000 |
| commit | 64f06858362acf584e4371e3848a6305ecea6b25 (patch) | |
| tree | 4f9763395c2ac313acc9856c98d9183042ce4c20 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a4731719c7a6da196d287f0406cbc7ee8a8907d1 (diff) | |
[FIX] account: remove child taxes if the tax is not a group
Create a tax of type "group of taxes".
Put taxes in its children_tax_ids field.
Change the type to something else.
The view hides the field children_tax_ids, since it doesn't make sense anymore.
However it doesn't actually remove the children_tax_ids.
As a result the child taxes are use in the computation.
We add on onchange to avoid that unfortunate situation.
opw 1931089
closes odoo/odoo#30727
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
