[MIG] web_ir_actions_act_multi: Migration to 15.0

This commit is contained in:
matiasperalta1
2021-12-23 14:44:51 -03:00
parent 3c7aa0d867
commit 5896610cf1
12 changed files with 59 additions and 67 deletions

View File

@@ -5,3 +5,4 @@
* Alexey Pelykh <alexey.pelykh@corphub.eu>
* Manuel Calero - Tecnativa
* Matias Peralta, Juan Rivero - Adhoc

View File

@@ -2,13 +2,12 @@ To use this functionality you need to return following action with list of actio
.. code-block:: python
@api.multi
def foo():
def foo(self):
self.ensure_one()
return {
'type': 'ir.actions.act_multi',
'actions': [
{'type': 'ir.actions.act_window_close'},
{'type': 'ir.actions.act_view_reload'},
{'type': 'ir.actions.client', 'tag': 'reload'},
]
}