From b948b197dafc88ea70c84723a8d7582a9bbec181 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Mon, 17 Feb 2020 18:26:53 +0000 Subject: [PATCH] [IMP] hr: Make timezone required on saved record `tz` field is technical field related to `resource_id`, which is required field on that model. However it is possible to try to write a void value, which leads to an issue as it is technically required. With this commit we make the tz field required at write. closes odoo/odoo#77372 X-original-commit: 7cda3632b1f50ea757d25369e8a1261d8aeab16d Signed-off-by: Yannick Tivisse (yti) --- addons/hr/views/hr_employee_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml index 2bc75673192..d8abfc226e6 100644 --- a/addons/hr/views/hr_employee_views.xml +++ b/addons/hr/views/hr_employee_views.xml @@ -121,7 +121,8 @@ - + +