[MERGE] [FIX] mrp_repair: create invoice button does not update the view
partial backport of trunk revision 8862 courtesy of Leonardo Pistone (camptocamp) bzr revid: mat@openerp.com-20140326161008-uv8bo4eas2csbx1e
This commit is contained in:
commit
aeeae02a89
|
@ -355,7 +355,8 @@ class mrp_repair(osv.osv):
|
|||
return self.write(cr,uid,ids,{'state':'cancel'})
|
||||
|
||||
def wkf_invoice_create(self, cr, uid, ids, *args):
|
||||
return self.action_invoice_create(cr, uid, ids)
|
||||
self.action_invoice_create(cr, uid, ids)
|
||||
return True
|
||||
|
||||
def action_invoice_create(self, cr, uid, ids, group=False, context=None):
|
||||
""" Creates invoice(s) for repair order.
|
||||
|
|
Loading…
Reference in New Issue