openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #01254
[Bug 891187] Re: cannot install hr from the hp static
Hello,
The attached merge contains the fix.
Additionally, it could also be said as the problem from Web because for
all such static installations, context comes as None, but no error
appears because system finds next action.
Thanks,
Serpent Consulting Services.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/891187
Title:
cannot install hr from the hp static
Status in OpenERP Server:
Confirmed
Bug description:
trunk, web, chrome,
create a new db -> install hr from the home page static -> bug
Client Traceback (most recent call last):
File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 792, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 788, in call_common
return getattr(req.session.model(model), method)(*args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
*args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
raise fault
Server Traceback (most recent call last):
File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/source/server/trunk/openerp/addons/base/res/res_config.py", line 79, in start
return self.next(cr, uid, ids, context)
File "/home/aline/source/server/trunk/openerp/addons/base/res/res_config.py", line 85, in next
return self._next(cr, uid, context=context)
File "/home/aline/source/server/trunk/openerp/addons/base/res/res_config.py", line 74, in _next
if 'html' in context:
TypeError: argument of type 'NoneType' is not iterable
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/891187/+subscriptions