mirror of https://github.com/OCA/web.git
web_ir_actions_act_view_reload: fix README (#1633)
Unresolved reference self and module odoo.api has no attribute multipull/1816/head
parent
90b6797010
commit
11961df9fe
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue