[FIX] analytic_user_function: initialise variable
bzr revid: mat@openerp.com-20130821154401-vgjpfmmjd59bm3j6
This commit is contained in:
commit
5c2d665af8
|
@ -42,6 +42,7 @@ class analytic_user_funct_grid(osv.osv):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
value = {}
|
value = {}
|
||||||
|
prod = False
|
||||||
if product_id:
|
if product_id:
|
||||||
prod = self.pool.get('product.product').browse(cr, uid, product_id, context=context)
|
prod = self.pool.get('product.product').browse(cr, uid, product_id, context=context)
|
||||||
emp = emp_obj.browse(cr, uid, emp_id[0], context=context)
|
emp = emp_obj.browse(cr, uid, emp_id[0], context=context)
|
||||||
|
|
Loading…
Reference in New Issue