[REM]: unuse variable name and method
bzr revid: ksa@tinyerp.com-20110921113912-ytotb6rh424xemnj
This commit is contained in:
parent
c6cb0c8785
commit
53b4c561be
|
@ -463,12 +463,14 @@ class mrp_repair(osv.osv):
|
||||||
self.write(cr, uid, [repair.id], {'state': 'ready'})
|
self.write(cr, uid, [repair.id], {'state': 'ready'})
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def action_invoice_cancel(self, cr, uid, ids, context=None):
|
#Remove this method because not use any where
|
||||||
""" Writes repair order state to 'Exception in invoice'
|
|
||||||
@return: True
|
# def action_invoice_cancel(self, cr, uid, ids, context=None):
|
||||||
"""
|
# """ Writes repair order state to 'Exception in invoice'
|
||||||
self.write(cr, uid, ids, {'state': 'invoice_except'})
|
# @return: True
|
||||||
return True
|
# """
|
||||||
|
# self.write(cr, uid, ids, {'state': 'invoice_except'})
|
||||||
|
# return True
|
||||||
|
|
||||||
def action_repair_start(self, cr, uid, ids, context=None):
|
def action_repair_start(self, cr, uid, ids, context=None):
|
||||||
""" Writes repair order state to 'Under Repair'
|
""" Writes repair order state to 'Under Repair'
|
||||||
|
|
|
@ -116,11 +116,6 @@
|
||||||
-
|
-
|
||||||
!python {model: mrp.repair}: |
|
!python {model: mrp.repair}: |
|
||||||
self.action_repair_ready(cr, uid, [ref('mrp_repair_rma0')], context=None)
|
self.action_repair_ready(cr, uid, [ref('mrp_repair_rma0')], context=None)
|
||||||
- |
|
|
||||||
Writes repair order state to 'Exception in invoice'
|
|
||||||
-
|
|
||||||
!python {model: mrp.repair}: |
|
|
||||||
self.action_invoice_cancel(cr, uid, [ref('mrp_repair_rma0')], context=None)
|
|
||||||
- |
|
- |
|
||||||
Creates stock move and picking for repair order
|
Creates stock move and picking for repair order
|
||||||
-
|
-
|
||||||
|
|
Loading…
Reference in New Issue