Browse Source

Merge pull request #156 from acsone/7.0-fix_mis_builder-lga

mis_builder : remove self.env.cr and self.env.uid
pull/157/head
Stéphane Bidoul (ACSONE) 9 years ago
parent
commit
2019491bb9
  1. 5
      mis_builder/models/aep.py

5
mis_builder/models/aep.py

@ -138,10 +138,7 @@ class AccountingExpressionProcessor(object):
if account.type in ('view', 'consolidation'): if account.type in ('view', 'consolidation'):
self._account_ids_by_code[like_code].update( self._account_ids_by_code[like_code].update(
account_obj._get_children_and_consol( account_obj._get_children_and_consol(
cr, uid,
self.env.cr, self.env.uid,
[account.id],
context=context))
cr, uid, [account.id], context=context))
else: else:
self._account_ids_by_code[like_code].add(account.id) self._account_ids_by_code[like_code].add(account.id)

Loading…
Cancel
Save