Skip to Content
Menu
This question has been flagged

Hi folks, (not unnessary, just polite! ;)

I have a model which contains date and time.

In my kanban view should now only the latest be displayed? Is there a way to realize this only in the xml view file for example with a filter/domain or a default_group_by?

Thx

Avatar
Discard
Author Best Answer

straight forward:

<filter name="group_latest" string="Latest" domain="[('date', '>=', time.strftime('%d/%m/%Y'))]" />

Avatar
Discard
Related Posts Replies Views Activity
1
May 22
4572
1
Aug 21
4710
2
Oct 22
3330
0
Jul 21
1872
1
Jan 20
9457