[6.0] No survey_id in the context of employee evaluation interview

Bug #883703 reported by Maxime Chambreuil (http://www.savoirfairelinux.com)
6
This bug affects 1 person
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_question_wiz), the context doesn't have the survey_id :

{'lang': u'fr_FR', 'tz': False, 'active_model': u'hr.evaluation.interview', 'department_id': False, 'section_id': False, '_terp_view_name': u'Question du sondage', 'client': 'web', 'active_ids': [2], 'active_id': 2}

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}

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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