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',