Error when group Sales Orders to create Invoice

Bug #1092843 reported by Kitti Upariphutthiphong
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

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'

Related branches

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Pankita Shah(OpenERP) (shp-openerp) wrote :

Hello,

           It has been Fixed in https://bugs.launchpad.net/openobject-addons/+bug/1092843
           Revno: 8476
           Revision ID: <email address hidden>

         It will be available in trunk soon.

Thanks,
 shp

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Stephan Diehl (stephan-diehl-4) wrote :

Why isn't it in trunk now? The last comment is 1 month ago.

Revision history for this message
Josse Colpaert (OpenERP) (jco-openerp) wrote :

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

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.