[IMP]view improvement in hr and timesheet

bzr revid: sgo@tinyerp.com-20120622051645-b0cldnh13z550sd3
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-06-22 10:46:45 +05:30
parent cf2b8e1737
commit 43752878d2
2 changed files with 7 additions and 5 deletions

View File

@ -27,10 +27,12 @@
</div>
<field class="oe_right" name="photo" widget='image' on_change="onchange_photo(photo)"/>
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/>,
<field name="company_id" class="oe_inline" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/>at
<field name="job_id" class="oe_inline oe_edit_only" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/>
</h1>
<h1><field name="name"/>,</h1>
<label for="company_id" class="oe_edit_only"/>
<h1><field name="company_id" class="oe_inline" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/></h1>
<label for="job_id" class="oe_edit_only"/>
<h1>at <field name="job_id" class="oe_inline" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/></h1>
<label for="department_id" class="oe_edit_only"/>
<h2><field name="department_id" on_change="onchange_department_id(department_id)"/></h2>
<h3><field name="category_ids" widget="many2many_tags"/></h3>

View File

@ -93,7 +93,7 @@
<field invisible="1" name="employee_id"/>
</tree>
</field>
<group colspan="2" col="2">
<group class="oe_right">
<button name="sign_in" string="Sign In" type="object" icon="terp-gtk-jump-to-ltr"/>
<button name="sign_out" string="Sign Out" type="object" icon="terp-gtk-jump-to-rtl"/>
</group>