[IMP]idea:improvement analysis report

bzr revid: kbh@tinyerp.com-20111111094954-bvagykrcnvmi3p1f
This commit is contained in:
Khushboo Bhatt (Open ERP) 2011-11-11 15:19:54 +05:30
parent 055441c518
commit f75cf47d42
1 changed files with 4 additions and 3 deletions

View File

@ -29,10 +29,11 @@
<field name="arch" type="xml">
<search string="Idea Vote Analysis">
<group>
<filter icon="terp-go-year" string=" Year "
<filter icon="terp-go-year" string=" Year " name="year"
domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
help="Idea Vote created in curren year"/>
<filter icon="terp-go-month" string=" Month "
<separator orientation="vertical"/>
<filter icon="terp-go-month" string=" Month " name="This Month"
domain="[('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"
help="Idea Vote created in current month"/>
<filter icon="terp-go-month"
@ -79,7 +80,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_report_vote_search"/>
<field name="context">{'search_default_User':1,'search_default_State':1,'group_by_no_leaf':1,'group_by':[]}</field>
<field name="context">{'search_default_year':1,'search_default_This Month':1,'search_default_User':1,'search_default_State':1,'group_by_no_leaf':1,'group_by':[]}</field>
</record>
<menuitem action="action_report_vote_all" id="menu_report_vote_all" parent="menu_idea_reporting" sequence="1" groups="base.group_tool_manager"/>