← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 749003] [NEW] Error in "Accounting Application Configuration"

 

Public bug reported:

1) Steps to reproduce the issue you have observed
Create new database, select: CRM, Sale Accounting, Invoicing, Purchasing
Start configuration process.
In window "Accounting Application Configuration" press configure.

2) The result you observed
Error message (outputted by server):
[2011-04-03 14:49:43,465][en_60bzr_nodemo] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/mnt/d/bzr/openerp-6.0/server/bin/addons/base/res/res_config.py", line 167, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/mnt/d/bzr/openerp-6.0/server/bin/addons/account/installer.py", line 216, in execute
    f_ids = fy_obj.search(cr, uid, [('date_start', '<=', res['date_start']), ('date_stop', '>=', res['date_stop']), ('company_id', '=', res['company_id'][0])], context=context)
TypeError: 'int' object is unsubscriptable


4) The platform your are using
Ubuntu 10.10, python 2.6

5) The OpenERP version you are using
server from bzr 6.0 branch revno: 3388
addons from bzr 6.0 branch revno: 4501
web from bzr 6.0 branch  revno: 4563

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/749003

Title:
  Error in "Accounting Application Configuration"

Status in OpenERP Modules (addons):
  New

Bug description:
  1) Steps to reproduce the issue you have observed
  Create new database, select: CRM, Sale Accounting, Invoicing, Purchasing
  Start configuration process.
  In window "Accounting Application Configuration" press configure.

  2) The result you observed
  Error message (outputted by server):
  [2011-04-03 14:49:43,465][en_60bzr_nodemo] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/mnt/d/bzr/openerp-6.0/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/mnt/d/bzr/openerp-6.0/server/bin/addons/base/res/res_config.py", line 167, in action_next
      next = self.execute(cr, uid, ids, context=None)
    File "/mnt/d/bzr/openerp-6.0/server/bin/addons/account/installer.py", line 216, in execute
      f_ids = fy_obj.search(cr, uid, [('date_start', '<=', res['date_start']), ('date_stop', '>=', res['date_stop']), ('company_id', '=', res['company_id'][0])], context=context)
  TypeError: 'int' object is unsubscriptable

  
  4) The platform your are using
  Ubuntu 10.10, python 2.6

  5) The OpenERP version you are using
  server from bzr 6.0 branch revno: 3388
  addons from bzr 6.0 branch revno: 4501
  web from bzr 6.0 branch  revno: 4563



Follow ups

References