[FIX] account: method should return browse records, not set
This commit is contained in:
parent
52eadd5199
commit
dbca34511e
|
@ -68,7 +68,7 @@ class account_fiscal_position(osv.osv):
|
||||||
|
|
||||||
@api.v8 # noqa
|
@api.v8 # noqa
|
||||||
def map_tax(self, taxes):
|
def map_tax(self, taxes):
|
||||||
result = set()
|
result = self.env['account.tax'].browse()
|
||||||
for tax in taxes:
|
for tax in taxes:
|
||||||
for t in self.tax_ids:
|
for t in self.tax_ids:
|
||||||
if t.tax_src_id == tax:
|
if t.tax_src_id == tax:
|
||||||
|
|
Loading…
Reference in New Issue