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

Set custom date in Sales Analysis filter

By
Hans Wiriya
on 6/3/15, 3:37 AM 428 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.

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