[IMP] add group by date on view search of recuitment report
bzr revid: nel@tinyerp.com-20100415065029-odoxgqilyepo0r8n
This commit is contained in:
parent
317bdf31a0
commit
295516cee2
|
@ -115,8 +115,5 @@
|
|||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
<!-- <field name="total_att" operator = "+"/>
|
||||
<field name="total_ts" operator = "+"/>
|
||||
<field name="user_id" group = "True"/-->
|
||||
</data>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<field name="date_closed"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." colspan="10" col="12">
|
||||
<group expand="1" string="Group By ..." colspan="10" col="12">
|
||||
<filter string="User" icon="terp-hr" domain="[]" context="{'group_by':'user_id'}"/>
|
||||
<filter string="Company" icon="terp-hr" domain="[]" context="{'group_by':'company_id'}"/>
|
||||
<filter string="Stage" name="Stage" icon="terp-hr" domain="[]" context="{'group_by':'stage_id'}" />
|
||||
|
@ -108,6 +108,7 @@
|
|||
<filter string="Department" icon="terp-hr" domain="[]" context="{'group_by':'department_id'}"/>
|
||||
<filter string="Degree" icon="terp-hr" domain="[]" context="{'group_by':'type_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Day" name = "day" icon="terp-hr" domain="[]" context="{'group_by':'date'}"/>
|
||||
<filter string="Month" icon="terp-hr" domain="[]" context="{'group_by':'month'}"/>
|
||||
<filter string="Year" icon="terp-hr" domain="[]" context="{'group_by':'year'}"/>
|
||||
</group>
|
||||
|
@ -120,7 +121,7 @@
|
|||
<field name="res_model">hr.recruitment.report</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="context">{'search_default_Stage': 1,'search_default_date': time.strftime('%Y/%m/%d %H:%M:%S') }</field>
|
||||
<field name="context">{'search_default_Stage': 1,'search_default_day': 1 }</field>
|
||||
<field name="search_view_id" ref="view_hr_recruitment_report_search"/>
|
||||
</record>
|
||||
<menuitem id="hr.menu_hr_reporting" name="Reporting" parent="hr.menu_hr_root"/>
|
||||
|
|
Loading…
Reference in New Issue