Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/7.0-opw-584925-ado into 
lp:openobject-addons/7.0.

Requested reviews:
  Xavier ALT (OpenERP) (xal-openerp)
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584925-ado/+merge/146345

Hello,

"[FIX] sale: make_invoice wizard passing wrong argument date_inv instead of 
date_invoice"

Steps:
1). Open sale order tree view
2). Select any sale order, click on more and run "Make Invoices" wizard
You will get the traceback.

Regards,
Amit Dodiya
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584925-ado/+merge/146345
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/7.0-opw-584925-ado.
=== modified file 'sale/wizard/sale_make_invoice.py'
--- sale/wizard/sale_make_invoice.py	2012-12-18 13:41:18 +0000
+++ sale/wizard/sale_make_invoice.py	2013-02-04 07:19:21 +0000
@@ -51,7 +51,7 @@
         if context is None:
             context = {}
         data = self.read(cr, uid, ids)[0]
-        order_obj.action_invoice_create(cr, uid, context.get(('active_ids'), []), data['grouped'], date_inv = data['invoice_date'])
+        order_obj.action_invoice_create(cr, uid, context.get(('active_ids'), []), data['grouped'], date_invoice = data['invoice_date'])
         wf_service = netsvc.LocalService("workflow")
         for id in context.get(('active_ids'), []):
             wf_service.trg_validate(uid, 'sale.order', id, 'manual_invoice', cr)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to