c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19451
[Bug 735990] Re: Con not open account chart from Wizard If we passing fiscal year argument.
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-735990-ara
--
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 Committed
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