mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_ir_actions_act_multi: Migration to 12.0
This commit is contained in:
committed by
matiasperalta1
parent
a41cba6bf7
commit
c1f96b5286
3
web_ir_actions_act_multi/readme/CONTRIBUTORS.rst
Normal file
3
web_ir_actions_act_multi/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
* Petar Najman <petar.najman@modoolar.com>
|
||||
* Mladen Meseldzija <mladen.meseldzija@modoolar.com>
|
||||
* Alexey Pelykh <alexey.pelykh@brainbeanapps.com>
|
||||
1
web_ir_actions_act_multi/readme/DESCRIPTION.rst
Normal file
1
web_ir_actions_act_multi/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
||||
This module provides a way to trigger more than one action on ActionManager
|
||||
14
web_ir_actions_act_multi/readme/USAGE.rst
Normal file
14
web_ir_actions_act_multi/readme/USAGE.rst
Normal 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'},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user