Skip to Content
Menu

Auto Refresh

by ,
Odoo
v 9.0 v 11.0 v 12.0 Third Party 1545
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 89
Technical Name smile_web_auto_refresh
LicenseAGPL-3
Websitehttp://www.smile.fr
Versions 9.0 11.0 12.0
You bought this module and need support? Click here!

Web Auto Refresh

License: AGPL-3 Smile-SA/odoo_addons

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:

  1. Go to Setting > Technical > Actions > Window Actions, find the desired action, activate the auto search Check box.
  2. Add one automated action for the target model, in the linked automated action add the following python code:
.. code-block:: python

    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.

  1. 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:

.. code-block:: python

    model.env ['bus.bus'].sendone ('auto_refresh', '#home')

Usage

(We will take stock.picking as a example model) To activate the auto search :

  1. Go to Settings > Technical > Actions > Window Actions menu :
Window Actions

To add the automated action for the target model :

  1. Go to Settings > Technical > automation > Automated Actions menu :
Automated Actions
  1. Then the Administrator go to edit a Transfert :
Transfert
Transfert edited
  1. In the same time the modification will refresh for the other users :
Demo user

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

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.

Smile SA

This module is part of the odoo-addons project on GitHub.

You are welcome to contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
thanks for sharing this valuable module
by
Walid Ahmed
on 11/5/20, 3:07 AM

but Are you know this add-on not working with firefox browser.


There are no comments yet!