コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5430 ビュー

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

Does anyone know how to do in odoo8?

That aproach doesn't work.

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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

著作者

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

関連投稿 返信 ビュー 活動
0
9月 16
3200
5
8月 24
46581
0
4月 24
1787
4
11月 23
5836
0
10月 23
1623