Odoo Help


Set custom date in Sales Analysis filter

Hans Wiriya
on 6/3/15, 3:37 AM 789 views

i am doing some custom filter at sales analysis so what i do is make some filter, save the filter and then manage filter to make the date dynamic. one of the date is to get the number of days within a month. Seem the function is like calendar.monthrange(2015,6)[1] but it requires "import calendar". Where should i put this "import calendar" ? I m using v6.1.

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: 6/3/15, 3:37 AM
Seen: 789 times
Last updated: 6/3/15, 3:37 AM