Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5323 มุมมอง

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}}]]

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, Try this

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

 Hope this helps.

อวตาร
ละทิ้ง

thanks that helps a lot!

where to find available variable like this? i don't remember seeing those in the documentation