跳至内容
菜单
此问题已终结
2 回复
1370 查看

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.

形象
丢弃