mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
11 lines
228 B
ReStructuredText
11 lines
228 B
ReStructuredText
To use this functionality you need to return following action:
|
|
|
|
.. code-block:: python
|
|
|
|
@api.multi
|
|
def foo():
|
|
self.ensure_one()
|
|
return {
|
|
'type': 'ir.actions.act_view_reload',
|
|
}
|