[IMP]:improved code

bzr revid: apa@tinyerp.com-20120608072512-0r1at3uxjetwecga
This commit is contained in:
Amit Patel (OpenERP)
2012-06-08 12:55:12 +05:30
parent d30d000ae3
commit 6cb8615965
@@ -432,7 +432,7 @@ class account_analytic_account(osv.osv):
'toinvoice_total' : fields.function(_sum_of_fields, type="float",multi="sum_of_all"),
}
def on_change_template(self, cr, uid, id, template_id, context=None):
def on_change_template(self, cr, uid, ids, template_id, context=None):
if not template_id:
return {}
res = {'value':{}}