[FIX] HR useability improvements

bzr revid: fp@openerp.com-20121010192927-6ud5e3zvhp5gabip
This commit is contained in:
Fabien Pinckaers
2012-10-10 21:29:27 +02:00
6 changed files with 37 additions and 11 deletions
+5 -8
View File
@@ -334,13 +334,10 @@
<field name="state" widget="statusbar" statusbar_visible="recruit,open"/>
</header>
<sheet>
<label for="name" class="oe_edit_only"/>
<h1>
<field name="name" class="oe_inline"/>
<label class="oe_inline" string="(" attrs="{'invisible': [('department_id', '=', False)]}"/>
<field name="department_id" class="oe_inline"/>
<label class="oe_inline" string=")" attrs="{'invisible': [('department_id', '=', False)]}"/>
</h1>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name" class="oe_inline"/></h1>
</div>
<group>
<group>
<field name="no_of_employee" groups="base.group_user"/>
@@ -349,7 +346,7 @@
</group>
<group>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
<field name="department_id"/> </group>
</group>
<div>
<label for="description"/>