You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
406 B

  1. To use this functionality you need to return following action with list of actions to execute:
  2. .. code-block:: python
  3. @api.multi
  4. def foo():
  5. self.ensure_one()
  6. return {
  7. 'type': 'ir.actions.act_multi',
  8. 'actions': [
  9. {'type': 'ir.actions.act_window_close'},
  10. {'type': 'ir.actions.act_view_reload'},
  11. ]
  12. }