[IMP]:hr_recruitment:improved view as new style.

bzr revid: apa@tinyerp.com-20120625071705-nww473l8i18ezqmm
This commit is contained in:
Amit Patel (OpenERP) 2012-06-25 12:47:05 +05:30
parent 24eff02343
commit ff28ffd880
2 changed files with 14 additions and 10 deletions

View File

@ -181,7 +181,7 @@ class hr_applicant(base_stage, osv.Model):
return res
_columns = {
'name': fields.char('Name', size=128, required=True),
'name': fields.char('Subject', size=128, required=True),
'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the case without removing it."),
'description': fields.text('Description'),
'email_from': fields.char('Email', size=128, help="These people will receive email."),

View File

@ -109,31 +109,35 @@
string="Print Interview" icon="gtk-print" help="Print interview report"
attrs="{'invisible':[('survey','=',False)]}"/>
</div>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name" string="Subject"/></h1>
<h1><field name="name"/></h1>
<label for="partner_name" class="oe_edit_only"/>
<h2><field name="partner_name"/>
<field name="type_id" placeholder="Degree"/>
apply for<field name="job_id" on_change="onchange_job(job_id)"/>
<h2>
<field name="partner_name" class="oe_inline"/>
<label class="oe_inline" string="(" attrs="{'invisible': [('type_id', '=', False)]}"/>
<field name="type_id" placeholder="Degree" class="oe_inline"/>
<label class="oe_inline" string=")" attrs="{'invisible': [('type_id', '=', False)]}"/>
<label class="oe_inline" string="apply for " attrs="{'invisible': [('job_id', '=', False)]}"/>
<field name="job_id" on_change="onchange_job(job_id)" class="oe_inline"/>
</h2>
</div>
<group>
<group>
<field name="user_id"/>
<label for="title_action"/>
<div>
<field name="date_action" nolabel="1"/> -
<field name="title_action" class="oe_inline" nolabel="1" placeholder="Call for proposal"/>
<field name="date_action"/> -
<field name="title_action" class="oe_inline" placeholder="Call for proposal"/>
</div>
</group>
<group>
<field name="priority" string="Appreciation"/>
<field name="survey" invisible="1"/>
<field name="response" invisible="1"/>
<field name="department_id" widget="selection" on_change="onchange_department_id(department_id)"/>
<field name="state" nolabel="1" groups="base.group_no_one"/>
<field name="department_id" on_change="onchange_department_id(department_id)"/>
<div><field name="state" groups="base.group_no_one"/></div>
</group>
</group>
<notebook>