web_ir_actions_act_view_reload: fix README (#1633)

Unresolved reference self and module odoo.api has no attribute multi

[UPD] README.rst

[UPD] Brainbean Apps => CorporateHub

[UPD] README.rst
This commit is contained in:
KENLYLST
2020-07-13 07:54:53 +02:00
committed by Ryan Cole
parent ddc66dd2b9
commit f826b96d91
5 changed files with 22 additions and 14 deletions

View File

@@ -1,2 +1,4 @@
* Petar Najman <petar.najman@modoolar.com>
* Alexey Pelykh <alexey.pelykh@brainbeanapps.com>
* `CorporateHub <https://corporatehub.eu/>`__
* Alexey Pelykh <alexey.pelykh@corphub.eu>

View File

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