From 0525c5b8470829f151feec7aa254366e2ecbb471 Mon Sep 17 00:00:00 2001 From: sofiagvaladze Date: Wed, 27 Sep 2023 10:39:31 +0200 Subject: [PATCH] [FIX] hr_skills_survey: UX changes Prior to this commit the required employee field was hidden on hr.resume.line form view. Which lead to validation error. Moreover, on the same form view, on create the survey_id field was not certification by default. The survey_id field has the domain [('certification', '=', True)] on this view and this caused inconsistency. The survey that we created from this form, was not listed as one of the options. After this commit the employee_id field is shown on hr.resume.line form view and the survey_id, created from this view, will be certification by default. task-3522917 closes odoo/odoo#136751 Signed-off-by: Bertrand Dossogne (bedo) --- addons/hr_skills_survey/views/hr_templates.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/hr_skills_survey/views/hr_templates.xml b/addons/hr_skills_survey/views/hr_templates.xml index 8527d93e66b..f565761d5db 100644 --- a/addons/hr_skills_survey/views/hr_templates.xml +++ b/addons/hr_skills_survey/views/hr_templates.xml @@ -12,6 +12,14 @@ readonly="0" invisible="display_type != 'certification'"/> + + 0 + + + + {'default_certification': True} + +