[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:
Alexis de Lattre 2014-10-27 12:14:19 +01:00 committed by Olivier Dony
parent 7b1ef7085a
commit 7508b7cd9c
1 changed files with 0 additions and 1 deletions

View File

@ -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