Odoo Help

Welcome!

This community 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.

0

Current, Nex and Last Week Filter OpenErp 7

By
Juan Sebastián Ocampo Ospina
on 4/2/14, 10:04 PM 1,467 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."/>

0
Nicolas PIGANEAU
On 9/30/14, 4:36 PM

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

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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