[ADD]: Added 'My' button in report_document view.

bzr revid: uco@tinyerp.co.in-20091216070746-gah6ho3s19xjd6pd
This commit is contained in:
uco (OpenERP) 2009-12-16 12:37:46 +05:30
parent 6b4acd3f43
commit 0a3ca44da7
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="All users files">
<group col="10" colspan="4">
<group col="12" colspan="4">
<filter icon="terp-stock" string="My" domain="[('user','=',uid)]" help="My Files"/>
<separator orientation="vertical"/>
<filter icon="terp-stock" string="This Year" domain="[('name','=',time.localtime()[0])]" help="All Months Files"/>
<filter icon="terp-stock" string="This Month" domain="[('month','=',time.localtime()[1])]" help="This Months Files"/>
<separator orientation="vertical"/>