Skip to content
Snippets Groups Projects
Commit 7f02895c authored by Jinane Maksoud's avatar Jinane Maksoud
Browse files

[FIX] account: avoid infinite loop when creating taxes of type 'group'


When updating taxes, creation of taxes of type 'group' does not
work correctly if either a child or the parent itself has been deleted.
Indeed the creation of _generate_tax() method suppose that both the parent
and the child needs to be created in the same batch while we can have
databases where one of those already exists and will go in the 'update'
and not 'creation' part of the script.

closes odoo/odoo#131215

X-original-commit: 8372a02f
Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
Signed-off-by: default avatarJinane Maksoud (maji) <maji@odoo.com>
parent aa536bbf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment