diff options
| author | Josse Colpaert <jco@openerp.com> | 2013-08-13 18:16:54 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@openerp.com> | 2013-08-13 18:16:54 +0200 |
| commit | 3f44214b4e59a12281551756fb5f8f3f8155dca2 (patch) | |
| tree | 1e83b6419026813e3fe7aff930c80187404ac8e8 | |
| parent | 6484c55eee39b38920952b11f821c306807b58bd (diff) | |
[IMP] typo product_id instead of product_it
bzr revid: jco@openerp.com-20130813161654-pylu2asod3kwwp3m
| -rw-r--r-- | addons/project_mrp/project_mrp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
