[IMP] typo product_id instead of product_it

bzr revid: jco@openerp.com-20130813161654-pylu2asod3kwwp3m
This commit is contained in:
Josse Colpaert 2013-08-13 18:16:54 +02:00
parent 6484c55eee
commit 3f44214b4e
1 changed files with 1 additions and 1 deletions

View File

@ -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)