[IMP] hr: Add a group_by on the hr.employee tree view
bzr revid: stephane@openerp.com-20100309164445-s9f822ibwk61wf30
This commit is contained in:
parent
dc79eb07c6
commit
8da8494c81
|
@ -106,9 +106,14 @@
|
|||
<field name="job_id" widget="selection"/>
|
||||
<field name="department_id" widget="selection"/>
|
||||
<field name="parent_id">
|
||||
<filter icon="terp-partner" domain="[('parent_id','child_of',uid)]" help="Employees under me"/>
|
||||
<filter icon="terp-partner" domain="[('parent_id','child_of',uid),('id', '!=', uid)]" help="Employees under me"/>
|
||||
</field>
|
||||
</group>
|
||||
<newline />
|
||||
|
||||
<group expand="1" string="Group By..." colspan="11" col="11">
|
||||
<filter string="Manager" icon="terp-sale" domain="[]" context="{'group_by':'parent_id'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue