[IMP]:improved code
bzr revid: apa@tinyerp.com-20120608072512-0r1at3uxjetwecga
This commit is contained in:
@@ -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':{}}
|
||||
|
||||
Reference in New Issue
Block a user