[IMP] purchase: removed debug statement
bzr revid: qdp-launchpad@openerp.com-20131023100005-30p2uo874zsdaum6
This commit is contained in:
parent
7cf0f92277
commit
177abaeccf
|
@ -1095,8 +1095,6 @@ class procurement_order(osv.osv):
|
|||
return super(procurement_order, self).propagate_cancel(cr, uid, procurement, context=context)
|
||||
|
||||
def _run(self, cr, uid, procurement, context=None):
|
||||
if procurement.rule_id:
|
||||
print procurement.rule_id.action
|
||||
if procurement.rule_id and procurement.rule_id.action == 'buy':
|
||||
#make a purchase order for the procurement
|
||||
return self.make_po(cr, uid, [procurement.id], context=context)[procurement.id]
|
||||
|
|
Loading…
Reference in New Issue