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
1=== modified file 'sale/report/sale_report_view.xml'
2--- sale/report/sale_report_view.xml 2011-12-19 16:54:40 +0000
3+++ sale/report/sale_report_view.xml 2013-09-10 11:27:56 +0000
4@@ -52,7 +52,7 @@
5 <search string="Sales Analysis">
6 <group>
7 <filter icon="terp-go-year" string="Year" name="year"
8- domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
9+ domain="[('date','&lt;=', time.strftime('%%Y-12-31')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
10 help="Sales order created in current year"/>
11 <separator orientation="vertical"/>
12 <filter icon="terp-go-month" string="Month"