c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24118
[Bug 781724] Re: [PS] Dashboard crashes if displayed while logged as Admin
** Summary changed:
- [PS] Dashboard crashes if display while logged as Admin
+ [PS] Dashboard crashes if displayed while logged as Admin
--
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/781724
Title:
[PS] Dashboard crashes if displayed while logged as Admin
Status in OpenERP Modules (addons):
Confirmed
Bug description:
trunk, revno 3407
* While logged as Admin, create a dashboard via Administration/Customization/Reporting/Dashboard Definition
* Add the view "My Projects" and create the menu entry
* Display the dashboard
Obtained result : the following error is reported
Environment Information :
System : Linux-2.6.32-31-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-31-generic
Operating System Version : #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1888 launchpad_translations_on_behalf_of_openerp-20110512043447-hhsojq69uot963ci
Traceback (most recent call last):
File "/home/openerp/trunk/server/openerp/netsvc.py", line 410, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp/trunk/server/openerp/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/trunk/server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/trunk/server/openerp/addons/project/project.py", line 58, in search
return super(project, self).search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/openerp/trunk/server/openerp/osv/orm.py", line 1744, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/openerp/trunk/server/openerp/osv/orm.py", line 4027, in _search
cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
File "/home/openerp/trunk/server/openerp/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/openerp/trunk/server/openerp/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
ProgrammingError: ERREUR: la colonne project_project.manager n'existe pas
LINE 1: ...ct" WHERE (project_project.active = E'True') AND (project_pr...
^
Expected result : it provides a warning if no view can be displayed or it displays an empty list of projects
reported by dha, OpenERP Prof. Serv
References