Odoo Help


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.


weekday does not work in relativedelta

Jose Maria Alzaga
on 8/10/13, 7:15 AM 1,322 views

If you try to make a personalized filter or a personalized view using for example: date '<=' (context_today() + relativedelta(weekday=0)). the result is that the filter is not applied. It should take the data corresponding to the day 0 of the week, that is Monday, but it does't take it. The yearday parameter doesn't work either. OpenERP v7

Have you got a workaround for this?

Tekse Arpad
on 3/11/14, 5:42 PM
On 4/29/15, 3:12 AM

I get the same problem. I find the pyeval.js don't handle the relativedelta's parameter weekday.

you can change the pyveval.js file or use this module


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

0 follower(s)


Asked: 8/10/13, 7:15 AM
Seen: 1322 times
Last updated: 4/29/15, 3:12 AM