[FIX] hr_evaluation: badly rendered form

The date was positioned inside the h1 and was badly rendered (field too small)
Fixes #2476
This commit is contained in:
Martin Trigaux 2016-06-07 12:12:41 +02:00
parent b9a006c1c0
commit ff3a0b12c6
No known key found for this signature in database
GPG Key ID: 7B0E288E7C0F83A7
1 changed files with 1 additions and 1 deletions

View File

@ -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','&lt;&gt;','progress')]}"/>
<field name="date_close" readonly="1"/>