[6.0] No survey_id in the context of employee evaluation interview
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Using latest versions of server, web-client and addons, I installed hr_evaluation module with demo data.
I set every survey state to 'open'. I tried to answer employee evaluation survey and it worked.
In HR, I create an evaluation for an employee using the existing demo evaluation plan. When I click on the icon to answer the evaluation, I get what you can see on the attached screenshot. I can't answer the survey.
I checked with pdb and it looks like in the survey question wizard (survey_
{'lang': u'fr_FR', 'tz': False, 'active_model': u'hr.evaluation
If I open the survey from the Tools > Survey menu, the context is :
{'lang': u'fr_FR', 'survey_id': 8, 'tz': False, 'search_view': 260, 'active_model': u'survey', 'department_id': False, 'section_id': False, '_terp_view_name': u'Question du sondage', 'client': 'web', 'active_ids': [8], 'active_id': 8}