Skip to content
Snippets Groups Projects
Commit 7383452f authored by wan's avatar wan
Browse files

[FIX] account: duplicate tax when removing analytic


The method _get_tax_grouping_key_from_tax_line could give twice the same
key if we removed the analytic tags or tax ids: when 2 lines were
slightly different but are merged, a key conflict could happen.

If this is the case, drop the subsequent lines with the same key.

closes odoo/odoo#38279

Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
parent 69bf61bb
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