[IMP]:minor view changes

bzr revid: apa@tinyerp.com-20120625101204-yqxr2q0fupdhvkd0
This commit is contained in:
Amit Patel (OpenERP) 2012-06-25 15:42:04 +05:30
parent 23de44d8ff
commit 7083c77885
2 changed files with 6 additions and 4 deletions

View File

@ -63,7 +63,6 @@
<field name="user_id" on_change="onchange_user(user_id)"/>
</group> -->
</group>
<separator string="Notes"/>
<field name="notes" placeholder="Other Information ..." colspan="4"/>
</page>
<page string="Personal Information" groups="base.group_hr_user">

View File

@ -134,9 +134,12 @@
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<field name="active" position="before">
<field name="state" class="oe_inline"/>
<button class="oe_inline" name="attendance_action_change" states="present" string="Sign Out" type="object" icon="gtk-go-forward" context="{'type':'sign_out'}" groups="base.group_hr_user"/>
<button class="oe_inline" name="attendance_action_change" states="absent" string="Sign In" type="object" icon="gtk-go-back" context="{'type':'sign_in'}" groups="base.group_hr_user"/>
<label for="state"/>
<div>
<field name="state" class="oe_inline"/>
<button class="oe_inline" name="attendance_action_change" states="present" string="Sign Out" type="object" icon="gtk-go-forward" context="{'type':'sign_out'}" groups="base.group_hr_user"/>
<button class="oe_inline" name="attendance_action_change" states="absent" string="Sign In" type="object" icon="gtk-go-back" context="{'type':'sign_in'}" groups="base.group_hr_user"/>
</div>
</field>
</field>
</record>