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

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

By
Prince Caspion
on 10/27/16, 3:10 AM 171 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

--deep--
1617
| 5 4 7
Bengaluru, India
--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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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