Odoo Help

0

context for datetime field filter for today

By
massimo
on 10/2/15, 2:48 PM 603 views

I want to make a filter to show all items with a next action date equal to today and less, but am lost with the syntax.  any ideas?

change this -                [['date_action_next', '<=', '2015-10-03 03:59:42']]

to something like this - [['date_action_next', '<=', {{todays_date}}]]

0

Baiju KS

--Baiju KS--
3194
| 5 5 8
Kochi, India
--Baiju KS--
ODOO technical

        I like learning new thing, especially technical thing. I am a quick learner, I can learn technical things very fast. I have good logical skill,  I have immense interest in programming.

e-mail id : baijuks@hotmail.com

Baiju KS
On 10/2/15, 10:26 PM

Hi, Try this

domain="[('date_action_next','<=',current_date)]" 

 Hope this helps.

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/2/15, 2:48 PM
Seen: 603 times
Last updated: 10/2/15, 10:26 PM