From 380a64b6b4559965cf79db9308acd58df721e2da Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 2 Oct 2013 23:31:41 +0200 Subject: [PATCH] [DEBUG] debug statement bzr revid: qdp-launchpad@openerp.com-20131002213141-m7uu4yga6hlzp4lt --- addons/purchase/purchase.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 317b542e103..f3e2bd23b9f 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -1137,8 +1137,9 @@ class procurement_order(osv.osv): def _run(self, cr, uid, procurement, context=None): print "dans le run de purchase" print procurement - a = procurement.rule_id and procurement.rule_id.name or 'pas de rule' - print a + print procurement.rule_id + #a = procurement.rule_id and procurement.rule_id.name or 'pas de rule' + #print a if procurement.rule_id and procurement.rule_id.action == 'buy': print "go pour make_po" #make a purchase order for the procurement