diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index 19e65e1abe17ae7b2a0d2d4ad8c14cab4154b11f..04832fae9573b91e66a5d2596a64457ff54de645 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -174,11 +174,11 @@ <label for="employee_id" class="oe_edit_only"/> <h1> <field name="employee_id" class="oe_inline" attrs="{'readonly': [('state', '=', 'done')]}" on_change="onchange_employee_id(employee_id)"/> - <field name="date" attrs="{'readonly': [('state', '=', 'done')]}"/> </h1> <label for="plan_id" class="oe_edit_only"/> <h2><field name="plan_id" attrs="{'readonly': [('state', '=', 'done')]}"/></h2> <group> + <field name="date" attrs="{'readonly': [('state', '=', 'done')]}"/> <group colspan="4" attrs="{'invisible':['|', ('state','=','draft'), ('state', '=', 'wait')]}"> <field name="rating" attrs="{'readonly':[('state','<>','progress')]}"/> <field name="date_close" readonly="1"/>