Odoo Help


weekday does not work in relativedelta

Jose Maria Alzaga
on 8/10/13, 7:15 AM 2,059 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


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

0 follower(s)


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