diff --git a/addons/hr_contract/views/hr_contract_views.xml b/addons/hr_contract/views/hr_contract_views.xml index 84077fe084e..f6cb09ab493 100644 --- a/addons/hr_contract/views/hr_contract_views.xml +++ b/addons/hr_contract/views/hr_contract_views.xml @@ -14,7 +14,7 @@ icon="fa-book" type="object" groups="hr_contract.group_hr_contract_manager" - attrs="{'invisible' : [('employee_type', 'not in', ['employee', 'student'])]}"> + attrs="{'invisible' : [('employee_type', 'not in', ['employee', 'student', 'trainee'])]}">