[FIX] account: fiscal position may map single tax to multiple taxes
(This is a regression in Odoo 8) It should now work when a fiscal position replaces 1 tax with several taxes (for example : Fiscal position "Intra-EU B2B" in l10n_fr) Fixes #2261, manual merge of PR #3316
This commit is contained in:
parent
7b1ef7085a
commit
7508b7cd9c
|
@ -83,7 +83,6 @@ class account_fiscal_position(osv.osv):
|
|||
if t.tax_src_id == tax:
|
||||
if t.tax_dest_id:
|
||||
result |= t.tax_dest_id
|
||||
break
|
||||
else:
|
||||
result |= tax
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue