[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:
parent
6dfcdfac02
commit
3b5b55b65b
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
<record model="workflow.transition" id="procurement.trans_confirm_confirm_wait">
|
<record model="workflow.transition" id="procurement.trans_confirm_confirm_wait">
|
||||||
<field name="signal" eval="False"/>
|
<field name="signal" eval="False"/>
|
||||||
|
<field name="condition" eval="True"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
|
|
@ -320,12 +320,6 @@ class procurement_order(osv.osv):
|
||||||
return True
|
return True
|
||||||
return False
|
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):
|
def action_confirm(self, cr, uid, ids, context=None):
|
||||||
""" Confirms procurement and writes exception message if any.
|
""" Confirms procurement and writes exception message if any.
|
||||||
@return: True
|
@return: True
|
||||||
|
|
Loading…
Reference in New Issue