From 845c3c01148252d0263d4dadec94cc2e5470e2c1 Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Sat, 19 Aug 2023 17:26:43 +0000 Subject: [PATCH] [FIX] hr: allow creation of new work location before this commit, on creating a new work location from work location menu, is blocking the creation of the record as a required field is not added in the view. * Employees -> Configuration -> Employees -> Work location Message: The operation cannot be completed: - Create/update: a mandatory field is not set. - Delete: another model requires the record being deleted. If possible, archive it instead. after this commit, the required field is added in the view and end user can create a new work location from work location menu closes odoo/odoo#132537 X-original-commit: 389246bb28355804d895d522e32a7387c4ac44ae Signed-off-by: Sofie Gvaladze (sgv) --- addons/hr/views/hr_work_location_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/hr/views/hr_work_location_views.xml b/addons/hr/views/hr_work_location_views.xml index 711df929220..90a2f10b0c1 100644 --- a/addons/hr/views/hr_work_location_views.xml +++ b/addons/hr/views/hr_work_location_views.xml @@ -24,11 +24,13 @@ + +