Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1375 Tampilan

Hi.

How can I filter new pipline created today on kanban?

Avatar
Buang
Penulis

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!

Penulis Jawaban Terbai

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

Avatar
Buang

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

Penulis

Thank you!

Jawaban Terbai

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.

Avatar
Buang