From 3f44214b4e59a12281551756fb5f8f3f8155dca2 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Tue, 13 Aug 2013 18:16:54 +0200 Subject: [PATCH] [IMP] typo product_id instead of product_it bzr revid: jco@openerp.com-20130813161654-pylu2asod3kwwp3m --- addons/project_mrp/project_mrp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project_mrp/project_mrp.py b/addons/project_mrp/project_mrp.py index f9aea33f2fb..e00883ed764 100644 --- a/addons/project_mrp/project_mrp.py +++ b/addons/project_mrp/project_mrp.py @@ -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)