Odoo Help


How can I refresh a form from the database every x seconds? (auto_refresh does not work)

Ron Arts
on 4/22/15, 6:25 PM 998 views

Another process is changing the database, and I want changes to automatically be visible in the form.

I've read about the auto_refresh field, but I (and many other people) can not get that to work. Also I've seen references in the source that this field seems to be deprecated.

I know this can put a strain on the database, but for this application that is not a problem.

I can confirm is no working, I've drop a line on github too. Please add your reply too:https://github.com/odoo/odoo/issues/6437

on 4/23/15, 7:02 PM
On 4/28/15, 12:45 PM

For the sake of knowledge, this is the reply we got on github about auto_refresh from a dev:

Nobody is working on this. This was only ever supported in the old GTK client and its usefulness/use cases were limited enough that its implementation in the new web client was seen as unnecessary (it only worked in the form view, and would just unconditionally reload the form view from scratch every x seconds where x is the value of the auto_refresh field). There might be a better/more useful version of it if we ever implement data notification (though that would be post-9).

I hope they will reconsider this option in the future because on tree view will be very useful...

Good find and good post Federico! I honestly think this feature could be really handy in tree views for refreshing data there..

on 8/14/15, 2:29 AM
Indeed. I'll have a look on it, again. :)
on 8/14/15, 8:56 AM

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

4 follower(s)


Asked: 4/22/15, 6:25 PM
Seen: 998 times
Last updated: 8/14/15, 9:24 AM