[FIX] exp_hr_appraisal: remove groups from emplyee_protest in python
This commit is contained in:
parent
4544bbca4a
commit
a0db72ff31
|
|
@ -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)]}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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)]}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue