web_ir_actions_act_view_reload: fix README (#1633)

Unresolved reference self and module odoo.api has no attribute multi
pull/1816/head
KENLYLST 2020-07-13 07:54:53 +02:00 committed by paidykumar
parent 90b6797010
commit 11961df9fe
2 changed files with 2 additions and 4 deletions

View File

@ -36,8 +36,7 @@ To use this functionality you need to return following action:
.. code-block:: python .. code-block:: python
@api.multi def foo(self):
def foo():
self.ensure_one() self.ensure_one()
return { return {
'type': 'ir.actions.act_view_reload', 'type': 'ir.actions.act_view_reload',

View File

@ -2,8 +2,7 @@ To use this functionality you need to return following action:
.. code-block:: python .. code-block:: python
@api.multi def foo(self):
def foo():
self.ensure_one() self.ensure_one()
return { return {
'type': 'ir.actions.act_view_reload', 'type': 'ir.actions.act_view_reload',