[FIX]sale-wizard : fix incorrect argument "date_inv" to "date_invoice"
bzr revid: csn@openerp.com-20130218132132-glk50ok3o31l3pl8
This commit is contained in:
parent
1a5b4160ef
commit
3afc3e2c22
|
@ -51,7 +51,7 @@ class sale_make_invoice(osv.osv_memory):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue