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.

60 lines
1.5 KiB

  1. .. image:: https://www.gnu.org/graphics/lgplv3-147x51.png
  2. :target: https://www.gnu.org/licenses/lgpl-3.0.en.html
  3. :alt: License: LGPL-v3
  4. =================
  5. Web Actions Multi
  6. =================
  7. This module provides a way to trigger more than one action on ActionManager
  8. Usage
  9. =====
  10. To use this functionality you need to return following action with list of actions to execute:
  11. .. code-block:: python
  12. @api.multi
  13. def foo():
  14. self.ensure_one()
  15. return {
  16. 'type': 'ir.actions.act_multi',
  17. 'actions': [
  18. {'type': 'ir.actions.act_window_close'},
  19. {'type': 'ir.actions.act_view_reload'},
  20. ]
  21. }
  22. Bug Tracker
  23. ===========
  24. Bugs are tracked on `GitHub Issues
  25. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  26. check there if your issue has already been reported. If you spotted it first,
  27. help us smash it by providing detailed and welcomed feedback.
  28. Credits
  29. =======
  30. Contributors
  31. ------------
  32. * Petar Najman <petar.najman@modoolar.com>
  33. * Mladen Meseldzija <mladen.meseldzija@modoolar.com>
  34. Maintainer
  35. ----------
  36. .. image:: https://odoo-community.org/logo.png
  37. :alt: Odoo Community Association
  38. :target: https://odoo-community.org
  39. This module is maintained by the OCA.
  40. OCA, or the Odoo Community Association, is a nonprofit organization whose
  41. mission is to support the collaborative development of Odoo features and
  42. promote its widespread use.
  43. To contribute to this module, please visit https://odoo-community.org.