diff options
| author | oco-odoo <oco@odoo.com> | 2019-11-15 13:18:29 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-15 17:52:58 +0000 |
| commit | a449e2ccf61e469b4503b8cdff07b2c89c445c3a (patch) | |
| tree | ce4fd69106a27d9f1c86425b3f8822a519c01d81 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 83a0c46dbb6e66418b763453d6eb403161e3a79c (diff) | |
[FIX] account: tax report: remove tags from aml when needing to delete them because of tag_name removal
Before that, when trying setting to None the tag_name of a tax report line whose tags were referenced by some move lines, a exception was raised, telling that some account.move.line objects still referenced an account.tag we were trying to delete. Removing the tags from db was legit (since we're removing the tag_name, we need to remove the tags that it generated), but first needed to remove all these tags from the account move lines linked to them.
closes odoo/odoo#40375
X-original-commit: 3eb5a3e947bb371f90c9f2357ff410816419bbb0
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
