← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/ocb-addons/7.0-fix-repair-invoice-lep into lp:ocb-addons

 

Leonardo Pistone @ camptocamp has proposed merging lp:~camptocamp/ocb-addons/7.0-fix-repair-invoice-lep into lp:ocb-addons.

Requested reviews:
  OpenERP Community Backports Team (ocb)
Related bugs:
  Bug #1262265 in OpenERP Community Backports (Addons): "[6.1] [7.0] [saas-1] mrp_repair: create invoice button does not update the view"
  https://bugs.launchpad.net/ocb-addons/+bug/1262265

For more details, see:
https://code.launchpad.net/~camptocamp/ocb-addons/7.0-fix-repair-invoice-lep/+merge/199503
-- 
https://code.launchpad.net/~camptocamp/ocb-addons/7.0-fix-repair-invoice-lep/+merge/199503
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~camptocamp/ocb-addons/7.0-fix-repair-invoice-lep into lp:ocb-addons.
=== modified file 'mrp_repair/mrp_repair.py'
--- mrp_repair/mrp_repair.py	2013-10-18 12:04:28 +0000
+++ mrp_repair/mrp_repair.py	2013-12-18 16:54:47 +0000
@@ -350,7 +350,8 @@
         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.


Follow ups