From 3b5b55b65b00491d8b76fb643bb1b75741ab3f07 Mon Sep 17 00:00:00 2001 From: "Priyesh solanki (OpenERP)" Date: Mon, 23 Jul 2012 17:20:12 +0530 Subject: [PATCH] [IMP] Removed method for get_phantom_bom_id and added condition true in related transition bzr revid: pso@openerp.com-20120723115012-r1c200gk4ro6ym8d --- addons/mrp_jit/mrp_jit.xml | 1 + addons/procurement/procurement.py | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/addons/mrp_jit/mrp_jit.xml b/addons/mrp_jit/mrp_jit.xml index 99f74a19517..6856285b9a6 100644 --- a/addons/mrp_jit/mrp_jit.xml +++ b/addons/mrp_jit/mrp_jit.xml @@ -4,6 +4,7 @@ + diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index f443805c02b..debeddc607e 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -320,12 +320,6 @@ class procurement_order(osv.osv): return True return False - #Initialize get_phantom_bom_id method as it is raising an error from yml of mrp_jit - #when one install first mrp and after that, mrp_jit. get_phantom_bom_id defined in mrp module - #which is not dependent for mrp_jit. - def get_phantom_bom_id(self, cr, uid, ids, context=None): - return False - def action_confirm(self, cr, uid, ids, context=None): """ Confirms procurement and writes exception message if any. @return: True