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

Hi.

How can I filter new pipline created today on kanban?

頭像
捨棄
作者

I finally solved my problem.
Create one filter by add the following line in ControllerPanelView:

<filter string="Today" name="today" domain="[('create_date', '&gt;=', datetime.datetime.now().strftime('%Y-%m-%d')), ('create_date', '&lt;=', datetime.datetime.now().strftime('%Y-%m-%d'))]"/>

Thanks & Regards!

作者 最佳答案

So I have to change filter at tomorrow? Because I want to view pipeline day by day and pipeline of that day only.

頭像
捨棄

Yes, by using custom filter you would require to change it for the specific day you want to view.

If you wish to view pipeline day by day then you can simply group by "creation date" and select day. However, in the kanban view columns would be date and no longer stage

作者

Thank you!

最佳答案

You can use advanced filter on kanban view and define the period from Filter > Add custom filter > Created on and select your criteria (since you want today you can use "is after") and provide the datetime.

頭像
捨棄