Hey! i need to make a search filter for current week. It must to be from Mondey to Sunday. Next, i could need a filter to next and last week, how can i do that. Thanks in advance
This is that i've tried for next week.
<filter string="Citas Siguiente Semana" name="citas_semana_siguiente" domain="[('f_inicio','>=',(context_today()+relativedelta(weeks=1)).strftime('%%Y-%%m-%%d')),('f_fin','<',(context_today()+relativedelta(weeks=2)).strftime('%%Y-%%m-%%d'))]" help="Citas programadas para la prÃ³xima semana."/>
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: 4/2/14, 10:04 PM|
|Seen: 1467 times|
|Last updated: 3/16/15, 8:10 AM|