From e4004cccac2e10637527405eded7ba1eb4c8b3ef Mon Sep 17 00:00:00 2001 From: KENLYLST <9990448+KENLYLST@users.noreply.github.com> Date: Thu, 9 Jul 2020 16:55:02 +0200 Subject: [PATCH 1/2] Update README.rst Unresolved reference `self` and module `odoo.api` has no attribute `multi` --- web_ir_actions_act_view_reload/README.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_ir_actions_act_view_reload/README.rst b/web_ir_actions_act_view_reload/README.rst index 90387ad2d337..4ac1c6a437df 100644 --- a/web_ir_actions_act_view_reload/README.rst +++ b/web_ir_actions_act_view_reload/README.rst @@ -39,8 +39,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', From 5c060070486017cd92b75e107a6e5277f8449ab4 Mon Sep 17 00:00:00 2001 From: KENLYLST Date: Sun, 12 Jul 2020 19:26:10 +0100 Subject: [PATCH 2/2] web_ir_actions_act_view_reload: fix README Unresolved reference self and module odoo.api has no attribute multi --- web_ir_actions_act_view_reload/readme/USAGE.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_ir_actions_act_view_reload/readme/USAGE.rst b/web_ir_actions_act_view_reload/readme/USAGE.rst index de630a81d58f..c8ff06ba893c 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',