[IMP] Removed method for get_phantom_bom_id and added condition true in related transition

bzr revid: pso@openerp.com-20120723115012-r1c200gk4ro6ym8d
This commit is contained in:
Priyesh solanki (OpenERP) 2012-07-23 17:20:12 +05:30
parent 6dfcdfac02
commit 3b5b55b65b
2 changed files with 1 additions and 6 deletions

View File

@ -4,6 +4,7 @@
<record model="workflow.transition" id="procurement.trans_confirm_confirm_wait">
<field name="signal" eval="False"/>
<field name="condition" eval="True"/>
</record>
</data>

View File

@ -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