[MOD]hr_timesheet : usability improvement

bzr revid: dbr@tinyerp.com-20100906105446-9lkvram346ypds7x
This commit is contained in:
DBR (OpenERP) 2010-09-06 16:24:46 +05:30
parent ea46dd2678
commit ad121cea1a
1 changed files with 9 additions and 1 deletions

View File

@ -63,6 +63,14 @@
<field name="account_id" select="1" widget="selection"/>
<field name="date" select="1"/>
</group>
<newline/>
<group expand="0" string="Group By...">
<filter string="Users" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Anlytic account" icon="terp-personal+" domain="[]" context="{'group_by':'account_id'}"/>
<separator orientation="vertical"/>
<filter string="Product" icon="terp-personal" domain="[]" context="{'group_by':'product_id'}"/>
<filter string="Date" icon="terp-personal+" domain="[]" context="{'group_by':'date'}"/>
</group>
</search>
</field>
@ -99,7 +107,7 @@
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<page string="Notes" position="before">
<page string="Categories" position="after">
<page string="Timesheets">
<field name="product_id" domain="[('type','=','service')]"/>
<field name="journal_id"/>