[IMP]To make invoice one has to click on Make Invoice button twice solved

bzr revid: sgo@tinyerp.com-20120620062459-fed93coow1p1t8r0
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-06-20 11:54:59 +05:30
parent 8ec1a7bf57
commit b79f3028d2
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ class mrp_repair(osv.osv):
return True
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.