콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5342 화면

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