← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 772451] Re: [6.0.2 rev 4591/4592] TypeError: 'int' object is unsubscriptable

 

Hey

Any progress in this issue? People can't create new Journal Items...!!

Thanks for response
thomi

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

Title:
  [6.0.2 rev 4591/4592] TypeError: 'int' object is unsubscriptable

Status in OpenERP Web Client:
  Confirmed

Bug description:
  Hey all

  bzr revision 4591/4592

  How to reproduce:
  Accounting / Journal Entries / Journal Entries
  . Create new Journal Entry
  . Create new Journal Item: Enter Name, Account, Debit and press Enter
  . Error:
  Traceback (most recent call last):
    File "/opt/openerp/development/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/opt/openerp/development/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/development/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/development/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/development/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/development/server/bin/addons/account/account_move_line.py", line 158, in default_get
      data = self._default_get(cr, uid, fields, context=context)
    File "/opt/openerp/development/server/bin/addons/account/account_move_line.py", line 230, in _default_get
      if i[2]:
  TypeError: 'int' object is unsubscriptable

  . Close Error message
  . Click into Reference field of the new journal Item and press ESC
  . Journal Item will be generated
  . Click on new (Journal Item) same error comes up

  After first error message "Loading" bar on top stays open

  regards
  thomi


References