From 1121f83d04fbad76179730d33cda365decb64618 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Tue, 16 Aug 2011 11:49:33 +0530 Subject: [PATCH] [IMP]: account: l10n_multilang : Used {}.update method instead of dict[]=True bzr revid: ron@tinyerp.com-20110816061933-u3eyacevfvhrxdgc --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index f536d65c7c2..3e87e733a8d 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -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 = []