From e351d9fe48a4f9acfccb868b60af41447db91f02 Mon Sep 17 00:00:00 2001 From: "Thomas Lefebvre (thle)" Date: Fri, 4 Aug 2023 13:07:12 +0000 Subject: [PATCH] [FIX] hr_recruitment: add company_id to the context Steps to reproduce: ------------------- - go to Recruitment app and click on a job position; - for an application without recruiter, click on the "Assign" button on the kanban box. Issue: ------ A traceback occurs. Cause: ------ To find available user_ids, we use the `"[..., ('company_ids', 'in', company_id)]"` domain. But `company_id` is not in the context. Solution: --------- Add `company_id` in the context by adding it to the view. opw-3450558 closes odoo/odoo#131159 X-original-commit: 4fa18ec336b9f44648c1eaa272d6e38f536b628b Signed-off-by: Sofie Gvaladze (sgv) Signed-off-by: Thomas Lefebvre (thle) --- addons/hr_recruitment/views/hr_applicant_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_recruitment/views/hr_applicant_views.xml b/addons/hr_recruitment/views/hr_applicant_views.xml index 313d48fbcb6..86cc9b72033 100644 --- a/addons/hr_recruitment/views/hr_applicant_views.xml +++ b/addons/hr_recruitment/views/hr_applicant_views.xml @@ -334,6 +334,7 @@
+
Hired