Odoo Help


Current, Nex and Last Week Filter OpenErp 7

Juan Sebastián Ocampo Ospina
on 4/2/14, 10:04 PM 1,903 views

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."/>

On 9/30/14, 4:36 PM

See https://www.odoo.com/forum/help-1/question/how-filter-last-week-44899

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/2/14, 10:04 PM
Seen: 1903 times
Last updated: 3/16/15, 8:10 AM