c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21166
Re: [Bug 735990] Re: Con not open account chart from Wizard If we passing fiscal year argument.
On 17. 03. 11 17:36, qdp (OpenERP) wrote:
> ** Changed in: openobject-addons
> Status: Fix Committed => Fix Released
>
Hi there!
I do not what exactly didn't work, because the wizard WAS working...
however now, when trying to execute, i get the following traceback:
Environment Information :
System : Linux-2.6.35-28-generic-i686-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Operating System Release : 2.6.35-28-generic
Operating System Version : #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_CH.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent
call last):
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line
410, in dispatch
result = ExportService.getService(service_name).dispatch(method,
auth, params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
line 598, in dispatch
res = fn(db, uid, *params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
122, in wrapper
return f(self, dbname, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/addons/account/wizard/account_chart.py", line 86,
in account_chart_open_window
fiscalyear_id = data.get('fiscalyear', False) and
data['fiscalyear'][0] or False
TypeError: 'int' object is unsubscriptable
--
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/735990
Title:
Con not open account chart from Wizard If we passing fiscal year
argument.
Status in OpenERP Modules (addons):
Fix Released
Bug description:
The following traceback:
Environment Information :
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1833 tfr@xxxxxxxxxxx-20110315101011-zfy01ha3x2nckivb
Traceback (most recent call last):
File "/home/vra/workspace/trunk/server/openerp/netsvc.py", line 410, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/vra/workspace/trunk/server/openerp/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/vra/workspace/trunk/server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vra/workspace/trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vra/workspace/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/vra/workspace/trunk/addons/account/wizard/account_chart.py", line 88, in account_chart_open_window
result['periods'] = period_obj.build_ctx_periods(cr, uid, data['period_from'], data['period_to'])
File "/home/vra/workspace/trunk/addons/account/account.py", line 952, in build_ctx_periods
company1_id = period_from.company_id.id
AttributeError: 'NoneType' object has no attribute 'id'
References