[IMP] typo product_id instead of product_it
bzr revid: jco@openerp.com-20130813161654-pylu2asod3kwwp3m
This commit is contained in:
parent
6484c55eee
commit
3f44214b4e
|
@ -32,7 +32,7 @@ class procurement_order(osv.osv):
|
|||
}
|
||||
|
||||
def _is_procurement_task(self, cr, uid, procurement, context=None):
|
||||
return procurement.product_id.type == 'service' and procurement.product_it.auto_create_task or False
|
||||
return procurement.product_id.type == 'service' and procurement.product_id.auto_create_task or False
|
||||
|
||||
def _assign(self, cr, uid, procurement, context=None):
|
||||
res = super(procurement_order, self)._assign(cr, uid, procurement, context=context)
|
||||
|
|
Loading…
Reference in New Issue