Odoo Help

0

odoo9 :: How to use date and datetime in filter domain in xml file?

By
Prince Caspion
on 10/27/16, 3:10 AM 228 views

Hello All,

How can we use today and next seven days filter to check datetime field value in xml filter in odoo9?

Please help.


Prince.

0
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 10/27/16, 4:35 AM

using Datetime to filter the record is not the ideal way to do, because it contains time part, so the best way, truncate it to date and then apply the date filter.

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

Register

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)

Stats

Asked: 10/27/16, 3:10 AM
Seen: 228 times
Last updated: 10/27/16, 4:35 AM