← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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}

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/883703

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

Status in OpenERP Addons (modules):
  New

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}

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/883703/+subscriptions


Follow ups

References