[trunk/7.0][addons] Error on chart of accounts setup (install)

Bug #1224691 reported by Romain Deheele - Camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

Hello,

Test on addons rev : 9438

Steps to reproduce:
Install database without demo data
Install "account" addon
On "Set Your Accounting Option" setup, select: "Custom" and "Your Company"
...but the next error occurs :

2013-09-12 20:57:42,086 3989 ERROR nji openerp.netsvc: list index out of range
Traceback (most recent call last):
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/rdeheele/oerp/sandbox/parts/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/rdeheele/oerp/sandbox/parts/addons/account/account.py", line 3128, in default_get
    chart_id = data_obj.browse(cr, uid, data_id[0], context=context).res_id
IndexError: list index out of range

The problem seems coming from rev 9434.

Romain

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
summary: - [7.0][addons] Error on chart of accounts setup (install)
+ [trunk/7.0][addons] Error on chart of accounts setup (install)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Turkesh Patel (openERP) (turkesh-tinyerp) wrote :

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-bug-1224691-tpa

revision-id: <email address hidden>

revno: 9439

Thanks,
Turkesh Patel

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Fixed at revision 9440.

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

@ocb people: this bug was noted as affecting ocb-addons, then put on 'fix released' because the OpenERP core devs were blazingly fast to fix this issue (compliments!). As no code was merged into ocb specifically, I prefer to remove the ocb association instead.

no longer affects: ocb-addons/7.0
no longer affects: ocb-addons
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.