cannot install hr from the hp static

Bug #891187 reported by Aline (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D
Odoo Web (MOVED TO GITHUB)
Invalid
Medium
OpenERP R&D Web Team

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

Related branches

Changed in openerp-web:
importance: Undecided → Medium
affects: openerp-web → openobject-server
Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

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.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Issue should be fixed in the server's trunk branch, as of revision <email address hidden>

A server restart is needed after updating the code.

Changed in openerp-web:
status: Confirmed → Invalid
Changed in openobject-server:
status: Confirmed → Fix Released
Changed in openobject-server:
milestone: none → 6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.