c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18266
[Bug 728417] [NEW] [6.0.1] Exception raised when setting an Account InActive
Public bug reported:
[6.0.1 stable]
[Gtk client]
Installation with "Accounting and Finance" module installed.
1. Navigate to Accounting/Configuration/Financial
Accounting/Accounts/Accounts
2. pick an account
3. set "Active" to False (uncheck)
4. Save change and we get the following Exception:
Environment Information :
System : Linux-2.6.32-29-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-29-generic
Operating System Version : #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_AU.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/openerp/openerp/openerp-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp/openerp/openerp-server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/openerp/openerp-server/bin/osv/orm.py", line 2940, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/openerp/openerp/openerp-server/bin/osv/orm.py", line 3054, in _read_flat
if isinstance(res2[record['id']], str): res2[record['id']] = eval(res2[record['id']]) #TOCHECK : why got string instend of dict in python2.6
TypeError: 'NoneType' object is unsubscriptable
** 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/728417
Title:
[6.0.1] Exception raised when setting an Account InActive
Status in OpenERP Modules (addons):
New
Bug description:
[6.0.1 stable]
[Gtk client]
Installation with "Accounting and Finance" module installed.
1. Navigate to Accounting/Configuration/Financial
Accounting/Accounts/Accounts
2. pick an account
3. set "Active" to False (uncheck)
4. Save change and we get the following Exception:
Environment Information :
System : Linux-2.6.32-29-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-29-generic
Operating System Version : #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_AU.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/openerp/openerp/openerp-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp/openerp/openerp-server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/openerp/openerp-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/openerp/openerp-server/bin/osv/orm.py", line 2940, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/openerp/openerp/openerp-server/bin/osv/orm.py", line 3054, in _read_flat
if isinstance(res2[record['id']], str): res2[record['id']] = eval(res2[record['id']]) #TOCHECK : why got string instend of dict in python2.6
TypeError: 'NoneType' object is unsubscriptable
Follow ups
-
[Bug 728417] Re: Exception raised when setting an Account InActive
From: jlinkels, 2011-05-20
-
[Bug 728417] Re: Exception raised when setting an Account InActive
From: jlinkels, 2011-05-20
-
[Bug 728417] Re: Exception raised when setting an Account InActive
From: Valencia Rodrigues (OpenERP), 2011-05-17
-
[Bug 728417] Re: Exception raised when setting an Account InActive
From: Valencia Rodrigues (OpenERP), 2011-05-17
-
[Bug 728417] Re: Exception raised when setting an Account InActive
From: Valencia Rodrigues (OpenERP), 2011-05-17
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Jay Vora (OpenERP), 2011-05-17
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: jlinkels, 2011-05-13
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: qdp (OpenERP), 2011-03-29
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-25
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-25
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: qdp (OpenERP), 2011-03-17
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-15
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Mustufa Rangwala (Open ERP), 2011-03-15
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-15
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Mustufa Rangwala (Open ERP), 2011-03-15
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Mustufa Rangwala (Open ERP), 2011-03-09
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-09
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Launchpad Bug Tracker, 2011-03-09
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Ashvin Rathod (OpenERP), 2011-03-09
-
[Bug 728417] Re: [6.0.1] Exception raised when setting an Account InActive
From: Amit Parik (OpenERP), 2011-03-03
-
[Bug 728417] [NEW] [6.0.1] Exception raised when setting an Account InActive
From: snook, 2011-03-03
References