Add a filter to your view similar to this one...
<filter icon="terp-go-today" string="This Month" domain="[('date','<=',context_today().strftime('%%Y-%%m-%%d')),('date','>=',context_today().strftime('%%Y-%%m-01'))]"/>
You need context_today to use the "user" timezone" when calculating the dates...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/22/15, 10:27 AM|
|Seen: 695 times|
|Last updated: 5/1/15, 4:07 AM|