← Back to team overview

openerp-india team mailing list archive

[Bug 1105239] Re: [7.0] Error while grouping sale orders into one invoice

 

*** This bug is a duplicate of bug 1092843 ***
    https://bugs.launchpad.net/bugs/1092843

** This bug has been marked a duplicate of bug 1092843
   Error when group Sales Orders to create Invoice

-- 
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/1105239

Title:
  [7.0] Error while grouping sale orders into one invoice

Status in OpenERP Addons (modules):
  New

Bug description:
  1 - Steps:

  1) On the sales module, select two sale orders and then select the "make invoice" action
  2) On the wizard, click on the "Group the invoices" checkbox
  3) Click on the "Create Invoices" button

  2 - Result:

  Server Traceback (most recent call last):
    File "/home/jgama/Projets/xyz/openerp-web70/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/netsvc.py", line 289, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/jgama/Projets/xyz/parts/openerp70/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/jgama/Projets/xyz/openobjects-addons70/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'

  3 - Expected result:

  New invoice screen.

  4 - Platform

  Ubuntu 12.04 + python 2.7.3 + Postgresql 9.1.7

  5 - Openerp version

  openobject-server/7.0 r4803
  openobject-addons/7.0 r8608

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


References