Odoo Help


How to only show latest entries?

Peter Nietz
on 3/11/15, 10:22 AM 782 views

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?


Peter Nietz
On 5/20/15, 10:31 AM

straight forward:

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/11/15, 10:22 AM
Seen: 782 times
Last updated: 5/20/15, 10:31 AM