Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1379 Lượt xem

Hi.

How can I filter new pipline created today on kanban?

Ảnh đại diện
Huỷ bỏ
Tác giả

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!

Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Tác giả

Thank you!

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ