[IMP] hr,hr_recruitment: made changes in form view

bzr revid: cha@tinyerp.com-20120927114918-e7hm58o91idp2unw
This commit is contained in:
Ajay Chauhan (OpenERP) 2012-09-27 17:19:18 +05:30
parent 77d4347f4a
commit 3636c648c1
2 changed files with 5 additions and 2 deletions

View File

@ -360,10 +360,13 @@
<label for="name" class="oe_edit_only"/>
<h1>
<field name="name" class="oe_inline"/>
</h1>
<label for="department_id" class="oe_edit_only"/>
<h2>
<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>
</h2>
<group>
<group>
<field name="no_of_employee" groups="base.group_user"/>

View File

@ -342,7 +342,7 @@
attrs="{'invisible':[('survey_id','=',False)]}"/>
</div>
</field>
<xpath expr="/form/sheet/h1" version="7.0" position="after">
<xpath expr="/form/sheet/h2" version="7.0" position="after">
<div colspan="4" attrs="{'invisible': [('alias_domain', '=', False)]}">
<field name="alias_id" invisible="1" required="0"/>
<label for="alias_name" class="oe_edit_only"/>