Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5417 Widoki

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

Does anyone know how to do in odoo8?

That aproach doesn't work.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 16
3192
5
sie 24
46534
0
kwi 24
1778
4
lis 23
5829
0
paź 23
1603