From 11961df9fe497a10a8f91761df2a4dd2a029dced Mon Sep 17 00:00:00 2001 From: KENLYLST <9990448+KENLYLST@users.noreply.github.com> Date: Mon, 13 Jul 2020 07:54:53 +0200 Subject: [PATCH] web_ir_actions_act_view_reload: fix README (#1633) Unresolved reference self and module odoo.api has no attribute multi --- web_ir_actions_act_view_reload/README.rst | 3 +-- web_ir_actions_act_view_reload/readme/USAGE.rst | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web_ir_actions_act_view_reload/README.rst b/web_ir_actions_act_view_reload/README.rst index cf39d837b..a7b7c5d1b 100644 --- a/web_ir_actions_act_view_reload/README.rst +++ b/web_ir_actions_act_view_reload/README.rst @@ -36,8 +36,7 @@ To use this functionality you need to return following action: .. code-block:: python - @api.multi - def foo(): + def foo(self): self.ensure_one() return { 'type': 'ir.actions.act_view_reload', diff --git a/web_ir_actions_act_view_reload/readme/USAGE.rst b/web_ir_actions_act_view_reload/readme/USAGE.rst index de630a81d..c8ff06ba8 100644 --- a/web_ir_actions_act_view_reload/readme/USAGE.rst +++ b/web_ir_actions_act_view_reload/readme/USAGE.rst @@ -2,8 +2,7 @@ To use this functionality you need to return following action: .. code-block:: python - @api.multi - def foo(): + def foo(self): self.ensure_one() return { 'type': 'ir.actions.act_view_reload',