[IMP] Report Month Improvment

bzr revid: jam@tinyerp.com-20101013134256-lwwg9css5h62oyyi
This commit is contained in:
Jigar Amin 2010-10-13 19:12:56 +05:30
parent 114843c9f2
commit 80e627bb64
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
help="Recruitment performed in current year"/>
<filter icon="terp-go-month" string="Month"
name="month"
domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-%%m-01'))]"
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="Recruitment performed in current month"/>
<filter icon="terp-go-month"
string=" Month-1 "