Khushboo Bhatt(openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-polish2_analysis_view_idea-kbh into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2_analysis_view_idea-kbh/+merge/81951

==== summury ===
== idea Analysis Report ===

* following changes in report_vote_view.xml

* putting separator between year and month button in search view.

* make the year,month button Default_search_year:1 , Default_search_this 
month:1 in this files.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2_analysis_view_idea-kbh/+merge/81951
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-polish2_analysis_view_idea-kbh.
=== modified file 'idea/report/report_vote_view.xml'
--- idea/report/report_vote_view.xml	2011-10-16 01:28:00 +0000
+++ idea/report/report_vote_view.xml	2011-11-11 10:07:31 +0000
@@ -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"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to