Odoo Help


How to only show latest entries?

Peter Nietz
on 3/11/15, 10:22 AM 510 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'))]" />

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 510 times
Last updated: 5/20/15, 10:31 AM