[IMP]: account: l10n_multilang : Used {}.update method instead of dict[]=True

bzr revid: ron@tinyerp.com-20110816061933-u3eyacevfvhrxdgc
This commit is contained in:
ron@tinyerp.com 2011-08-16 11:49:33 +05:30
parent 61f589603f
commit 1121f83d04
1 changed files with 1 additions and 1 deletions

View File

@ -2394,7 +2394,7 @@ class account_account_template(osv.osv):
acc_template_ref = {}
#deactivate the parent_store functionnality on account_account for rapidity purpose
ctx = context.copy()
ctx['defer_parent_store_computation'] = True
ctx.update({'defer_parent_store_computation': True})
children_acc_template = self.search(cr, uid, [('parent_id','child_of', [account_root_id]),('nocreate','!=',True)], order='id')
for account_template in self.browse(cr, uid, children_acc_template, context=context):
tax_ids = []