From 664ec1e1b6f19966237a9301c9e5f556744bfec1 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 21 Jan 2022 08:52:11 +0000 Subject: [PATCH] [UPD] README.rst --- web_ir_actions_act_multi/README.rst | 16 ++++++++-------- .../static/description/index.html | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web_ir_actions_act_multi/README.rst b/web_ir_actions_act_multi/README.rst index 0df5f38e8..69be81f45 100644 --- a/web_ir_actions_act_multi/README.rst +++ b/web_ir_actions_act_multi/README.rst @@ -14,13 +14,13 @@ Web Actions Multi :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/13.0/web_ir_actions_act_multi + :target: https://github.com/OCA/web/tree/15.0/web_ir_actions_act_multi :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_ir_actions_act_multi + :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_ir_actions_act_multi :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/13.0 + :target: https://runbot.odoo-community.org/runbot/162/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -39,14 +39,13 @@ To use this functionality you need to return following action with list of actio .. code-block:: python - @api.multi - def foo(): + def foo(self): self.ensure_one() return { 'type': 'ir.actions.act_multi', 'actions': [ {'type': 'ir.actions.act_window_close'}, - {'type': 'ir.actions.act_view_reload'}, + {'type': 'ir.actions.client', 'tag': 'reload'}, ] } @@ -56,7 +55,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -79,6 +78,7 @@ Contributors * Alexey Pelykh * Manuel Calero - Tecnativa +* Matias Peralta, Juan Rivero - Adhoc Maintainers ~~~~~~~~~~~ @@ -93,6 +93,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/web `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_ir_actions_act_multi/static/description/index.html b/web_ir_actions_act_multi/static/description/index.html index d4e116a3a..78cac1418 100644 --- a/web_ir_actions_act_multi/static/description/index.html +++ b/web_ir_actions_act_multi/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/web Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/web Translate me on Weblate Try me on Runbot

This module provides a way to trigger more than one action on ActionManager

Table of contents

@@ -386,14 +386,13 @@ ul.auto-toc {

Usage

To use this functionality you need to return following action with list of actions to execute:

-@api.multi
-def foo():
+def foo(self):
    self.ensure_one()
    return {
       'type': 'ir.actions.act_multi',
       'actions': [
           {'type': 'ir.actions.act_window_close'},
-          {'type': 'ir.actions.act_view_reload'},
+          {'type': 'ir.actions.client', 'tag': 'reload'},
       ]
    }
 
@@ -403,7 +402,7 @@ ul.auto-toc {

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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -425,6 +424,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Manuel Calero - Tecnativa
  • +
  • Matias Peralta, Juan Rivero - Adhoc
  • @@ -434,7 +434,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

    -

    This module is part of the OCA/web project on GitHub.

    +

    This module is part of the OCA/web project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.