From a0db72ff310f38a3632d1727028282609d3fe2a7 Mon Sep 17 00:00:00 2001 From: Samir Ladoui Date: Thu, 27 Feb 2025 07:59:00 +0100 Subject: [PATCH] [FIX] exp_hr_appraisal: remove groups from emplyee_protest in python --- odex25_hr/exp_hr_appraisal/models/appraisal.py | 1 - odex25_hr/exp_hr_appraisal/models/employees_appraisal.py | 1 - 2 files changed, 2 deletions(-) diff --git a/odex25_hr/exp_hr_appraisal/models/appraisal.py b/odex25_hr/exp_hr_appraisal/models/appraisal.py index e5a927bd8..4d18235d3 100644 --- a/odex25_hr/exp_hr_appraisal/models/appraisal.py +++ b/odex25_hr/exp_hr_appraisal/models/appraisal.py @@ -43,7 +43,6 @@ class Appraisal(models.Model): ('other', 'Other')], string='Appraisal Type') company_id = fields.Many2one('res.company', string='Company',default=lambda self: self.env.company) employee_protest = fields.Boolean( - groups="exp_hr_appraisal.group_appraisal_manager", readonly=True, states={'draft': [('readonly', False)]} ) diff --git a/odex25_hr/exp_hr_appraisal/models/employees_appraisal.py b/odex25_hr/exp_hr_appraisal/models/employees_appraisal.py index a40135cd7..e4bd67693 100644 --- a/odex25_hr/exp_hr_appraisal/models/employees_appraisal.py +++ b/odex25_hr/exp_hr_appraisal/models/employees_appraisal.py @@ -40,7 +40,6 @@ class EmployeesAppraisal(models.Model): ('general', 'General'), ('other', 'Other')], string='Appraisal Type') employee_protest = fields.Boolean( - groups="exp_hr_appraisal.group_appraisal_manager", readonly=True, states={'draft': [('readonly', False)]} )