[FIX] account: indendation error in 82588fa

The original tax should not be included if
it was found in the tax mapping, even
if it has no replacement.

Fixes #2261 (hopefully, this time)
This commit is contained in:
Olivier Dony 2014-10-29 19:42:13 +01:00
parent 8e637bac92
commit 92c7874eb8
1 changed files with 1 additions and 1 deletions

View File

@ -82,8 +82,8 @@ class account_fiscal_position(osv.osv):
tax_count = 0
for t in self.tax_ids:
if t.tax_src_id == tax:
tax_count += 1
if t.tax_dest_id:
tax_count += 1
result |= t.tax_dest_id
if not tax_count:
result |= tax