Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Technical Name |
smile_web_auto_refresh |
License | AGPL-3 |
Website | http://www.smile.fr |
Versions | 9.0 11.0 12.0 |
Web Auto Refresh
This module is a fork of web_auto_refresh developped by Fisher Yu on Odoo v10. This fork works with all non-edited views, not only with kanban and list views.
Table of contents
Configuration
To configure this module, you need to:
Go to Setting > Technical > Actions > Window Actions, find the desired action, activate the auto search Check box.
Create a server action for the target model, select "Execute python Code" as an action to do then add the following python code:
model.env['bus.bus'].sendone('auto_refresh', model._name)
This automated action can be applied (when to run) to creation, update or delete per your requirement. It is also possible to force the opening of a page by indicating #action.
For example: an automatic return to the home page is done by executing the code:
model.env ['bus.bus'].sendone ('auto_refresh', '#home')
Create an automated action for the same model the add the created server action in "Server actions to run".
Usage
(We will take stock.picking as a example model)
- Go to Settings > Technical > Actions > Window Actions and activate the auto search:

- Go to Settings > Technical > actions > Server Actions and create the action as follow:

- Go to Settings > Technical > Automation > Automated Actions and create an action as follow:


- Try to edit and update a field in the target model, then save the changes. The module will automatically refresh the record and the changes will appear in the different sessions.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Corentin POUHET-BRUNERIE
- Majda EL MARIOULI
Maintainer
This module is maintained by the Smile SA.
Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.
This module is part of the odoo-addons project on GitHub.
You are welcome to contribute.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedReally great module, both the idea and the execution are good.
There are no comments yet!