[MIG] web_ir_actions_act_multi: Migration to 12.0

This commit is contained in:
Alexey Pelykh
2018-12-09 16:50:32 +02:00
committed by matiasperalta1
parent a41cba6bf7
commit c1f96b5286
8 changed files with 549 additions and 31 deletions

View File

@@ -0,0 +1,3 @@
* Petar Najman <petar.najman@modoolar.com>
* Mladen Meseldzija <mladen.meseldzija@modoolar.com>
* Alexey Pelykh <alexey.pelykh@brainbeanapps.com>

View File

@@ -0,0 +1 @@
This module provides a way to trigger more than one action on ActionManager

View File

@@ -0,0 +1,14 @@
To use this functionality you need to return following action with list of actions to execute:
.. code-block:: python
@api.multi
def foo():
self.ensure_one()
return {
'type': 'ir.actions.act_multi',
'actions': [
{'type': 'ir.actions.act_window_close'},
{'type': 'ir.actions.act_view_reload'},
]
}