[FIX] account: method should return browse records, not set

This commit is contained in:
Martin Trigaux 2014-08-05 09:30:14 +02:00
parent 52eadd5199
commit dbca34511e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class account_fiscal_position(osv.osv):
@api.v8 # noqa
def map_tax(self, taxes):
result = set()
result = self.env['account.tax'].browse()
for tax in taxes:
for t in self.tax_ids:
if t.tax_src_id == tax: