Skip to content
Snippets Groups Projects
Commit d20f2e2b authored by Jinane Maksoud's avatar Jinane Maksoud Committed by Claire Bretton (clbr)
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#130407

Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
parent 2eeab8fc
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment