← Back to team overview

openerp-india team mailing list archive

[Bug 1092843] Re: Error when group Sales Orders to create Invoice

 

See my branch in bug 1118195 -> grouping of invoices will be removed.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1092843

Title:
  Error when group Sales Orders to create Invoice

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  (Build 3015)
  server (4724)
  addons (8446)
  web (3652)

  Step:
  1. Open Sales Order tree view, select multiple sales orders
  2. Select "More" --> "Make Invoices"
  3. On make invoices wizard, click "Create Invoice" button, error occur,

  
  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/addons/web/session.py", line 87, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/netsvc.py", line 281, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3015/server/openerp/addons/sale/wizard/sale_make_invoice.py", line 54, in make_invoices
      order_obj.action_invoice_create(cr, uid, context.get(('active_ids'), []), data['grouped'], date_inv = data['invoice_date'])
  TypeError: action_invoice_create() got an unexpected keyword argument 'date_inv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1092843/+subscriptions


References