diff --git a/addons/mrp_jit/mrp_jit.xml b/addons/mrp_jit/mrp_jit.xml index 6856285b9a6..99f74a19517 100644 --- a/addons/mrp_jit/mrp_jit.xml +++ b/addons/mrp_jit/mrp_jit.xml @@ -4,7 +4,6 @@ - diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index debeddc607e..5f2fb1e161c 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -320,6 +320,12 @@ 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