Khushboo Bhatt(openerp) has proposed merging lp:~openerp-dev/openobject-addons/trunk-polish2_analysis_view_marketing-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_marketing-kbh/+merge/81825 hello, Improvement on analysis view in marketing is done. thanks, kbh. -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2_analysis_view_marketing-kbh/+merge/81825 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-polish2_analysis_view_marketing-kbh.
=== modified file 'marketing_campaign/report/campaign_analysis_view.xml' --- marketing_campaign/report/campaign_analysis_view.xml 2011-03-15 14:08:59 +0000 +++ marketing_campaign/report/campaign_analysis_view.xml 2011-11-10 10:27:25 +0000 @@ -32,12 +32,17 @@ <field name="arch" type="xml"> <search string="Campaign Analysis"> <group> - <filter icon="terp-go-year" + <filter icon="terp-go-year" name="year" string="This Year" domain="[('year','=',time.strftime('%%Y'))]"/> + <separator orientation="vertical"/> + <filter icon="terp-go-month" - string="This Month" + string="This Month" name="This Month" domain="[('month','=',time.strftime('%%m'))]"/> + <filter icon="terp-go-month" string=" Month-1 " + domain="[('create_date','<=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('create_date','>=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"/> + <filter icon="terp-go-today" string="Today" domain="[('date','=',time.strftime('%%Y/%%m/%%d'))]"/> @@ -81,7 +86,7 @@ <field name="res_model">campaign.analysis</field> <field name="view_type">form</field> <field name="view_mode">tree</field> - <field name="context">{'group_by': [], 'search_default_Campaign': 1, 'search_default_Segment': 1, 'group_by_no_leaf':1}</field> + <field name="context">{'search_default_year': 1,"search_default_This Month":1,'group_by': [], 'search_default_Campaign': 1, 'search_default_Segment': 1, 'group_by_no_leaf':1}</field> <field name="search_view_id" ref="view_campaign_analysis_search"/> </record>
_______________________________________________ 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