This question has been flagged
1 Reply
4846 Views

In here there was asked for auto-refreshing views in v7.

Does anyone know how to do in odoo8?

That aproach doesn't work.

Avatar
Discard
Best Answer

In that link there is no solution, you could see an autorefresh module for v7 here:

https://www.odoo.com/apps/modules/7.0/solt_autorefresh/

for v8 I don't implemented yet but you could take it as example of how to do it. 

Also there is a module for v8 but I don't test it yet

https://github.com/szufisher/web/tree/8.0/web_auto_refresh

*********************************************************************************************

You could use my module for this:

https://github.com/aek/odoo_public/tree/8.0/addons/solt_autorefresh

Avatar
Discard
Author

I tested the second one but it didn't work so far. That seems not to be finished. I'l give an attempt to the first link you shared. Thank you

The first one will not work on Odoo v8, it was developed for v7. It just to show you how could be done. All of them use the auto_refresh field of the action

I review the code of my module again and it should work in Odoo 8 for reload ListView, FormView, KanbanView. I will make the necessary changes and update to Odoo Apps

Author

Could you give me a shout here, when you are done with the convertion?

Hi @Andreas Maertens, sorry for the delay. I just uploaded my module tested for the views: list, form, kanban, calendar and graph. You could see this post for reference the solution:
https://www.odoo.com/forum/help-1/question/is-it-possible-to-check-a-database-value-every-n-seconds-and-update-a-field-in-the-view-accordingly-94937#answer_94944