cannot open employee form

Bug #873362 reported by Aline (OpenERP)
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
Unassigned

Bug Description

create a db, install hr (only) and then gor to Human Resources/ Employees and try to open the list

OpenERP WebClient Error
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 582, in action
    [('ir.ui.menu', menu_id)], False)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 446, in load_actions_from_ir_values
    for id, name, action in actions]
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 456, in clean_action
    action['context'] = eval( action['context'], eval_ctx ) or {}
  File "<string>", line 1, in <module>
NameError: name 'department_id' is not defined

Related branches

Changed in openerp-web:
importance: Undecided → High
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Could not reproduce...

Changed in openerp-web:
status: New → Invalid
status: Invalid → New
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

It seems like it is related to the non-refreshment on the user context, AL said he would fix that...

Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

fixed in 1255 revid:<email address hidden>

no more window.reload just webclient.do_reload() triggers a restore_session and a menu do_reload

Changed in openerp-web:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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