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
- Add one automated action for the target model, in the linked automated action 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')
Usage
(We will take stock.picking as a example model)
Activate the auto search from Settings > Technical > Actions > Window Actions menu :
Add the automated action for the target model from Settings > Technical > automation > Automated Actions menu :
Go to any view of the selected model, in display mode.
In another session (login via another browser and other computer), create, change or delete records of the model, then save.
The original view in display mode will be auto refreshed.
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