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 15.0
This commit is contained in:
@@ -5,3 +5,4 @@
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
* Manuel Calero - Tecnativa
|
||||
* Matias Peralta, Juan Rivero - Adhoc
|
||||
|
||||
@@ -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'},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user