Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5423 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Penulis

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

Post Terkait Replies Tampilan Aktivitas
0
Sep 16
3194
5
Agu 24
46552
0
Apr 24
1778
4
Nov 23
5832
0
Okt 23
1609