Merge lp:~yann-papouin/openobject-addons/6.1-bug-1179398-salereport-year-domain into lp:openobject-addons/6.1

Proposed by Yann Papouin
Status: Needs review
Proposed branch: lp:~yann-papouin/openobject-addons/6.1-bug-1179398-salereport-year-domain
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
sale/report/sale_report_view.xml (+1/-1)
To merge this branch: bzr merge lp:~yann-papouin/openobject-addons/6.1-bug-1179398-salereport-year-domain
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+184756@code.launchpad.net

Description of the change

Replace the today static date by a year static date

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'sale/report/sale_report_view.xml'
--- sale/report/sale_report_view.xml 2011-12-19 16:54:40 +0000
+++ sale/report/sale_report_view.xml 2013-09-10 11:27:56 +0000
@@ -52,7 +52,7 @@
52 <search string="Sales Analysis">52 <search string="Sales Analysis">
53 <group>53 <group>
54 <filter icon="terp-go-year" string="Year" name="year"54 <filter icon="terp-go-year" string="Year" name="year"
55 domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"55 domain="[('date','&lt;=', time.strftime('%%Y-12-31')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
56 help="Sales order created in current year"/>56 help="Sales order created in current year"/>
57 <separator orientation="vertical"/>57 <separator orientation="vertical"/>
58 <filter icon="terp-go-month" string="Month"58 <filter icon="terp-go-month" string="Month"