Odoo Help


This community 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.


How to only show latest entries?

Peter Nietz
on 3/11/15, 10:22 AM 432 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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