跳至內容
選單
此問題已被標幟
2 回覆
5940 瀏覽次數

Here you can find the domain to filter on today's date.

頭像
捨棄
作者 最佳答案

Here you can find the domain to filter on today's date.



['&',
('x_date_start', '>=', context_today().strftime("%Y-%m-%d 00:00:00")),
('x_date_start', '<=', context_today().strftime("%Y-%m-%d 23:59:59"))
]



You can create a user defined filter and add the code in the domain field. Note that you need to adapt the date field name to the field you want to filter on.

頭像
捨棄

You are a Real Man !

相關帖文 回覆 瀏覽次數 活動
0
5月 21
15
1
7月 24
4475
1
4月 21
8335
1
7月 25
5793
1
10月 22
501