[FIX] Fixed local variable 'prod' referenced before assignment.
bzr revid: cpa@tinyerp.com-20130328130833-a3pohp88pxa6q8a7
This commit is contained in:
parent
fc04522286
commit
29683cad2b
|
@ -42,6 +42,7 @@ class analytic_user_funct_grid(osv.osv):
|
|||
return {}
|
||||
|
||||
value = {}
|
||||
prod = False
|
||||
if product_id:
|
||||
prod = self.pool.get('product.product').browse(cr, uid, product_id, context=context)
|
||||
emp = emp_obj.browse(cr, uid, emp_id[0], context=context)
|
||||
|
|
Loading…
Reference in New Issue