From f8137cf90071689716167d239077347e116a7b43 Mon Sep 17 00:00:00 2001 From: Hardik Prajapati Date: Fri, 9 Jul 2021 10:35:31 +0000 Subject: [PATCH] [IMP] hr_contract: prevent dialog opening on contract history clicking on the row of contract history opens the formViewDialog so this commit fixes the issue by adding the readonly attributes on the field so that clicking on the row of the contract history doesn't open the formViewDialog TaskID-2578874 closes odoo/odoo#73832 Signed-off-by: Kevin Baptiste --- .../hr_contract/report/hr_contract_history_report_views.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/hr_contract/report/hr_contract_history_report_views.xml b/addons/hr_contract/report/hr_contract_history_report_views.xml index 023f62c3b9a..c1a6d4c15d9 100644 --- a/addons/hr_contract/report/hr_contract_history_report_views.xml +++ b/addons/hr_contract/report/hr_contract_history_report_views.xml @@ -77,14 +77,15 @@ - + + no_open="1" + create="0" delete="0">