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.

130 lines
4.5 KiB

  1. =========================
  2. Server Actions - Navigate
  3. =========================
  4. .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. !! This file is generated by oca-gen-addon-readme !!
  6. !! changes will be overwritten. !!
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
  9. :target: https://odoo-community.org/page/development-status
  10. :alt: Beta
  11. .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
  12. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  13. :alt: License: AGPL-3
  14. .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
  15. :target: https://github.com/OCA/server-backend/tree/13.0/server_action_navigate
  16. :alt: OCA/server-backend
  17. .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
  18. :target: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-server_action_navigate
  19. :alt: Translate me on Weblate
  20. .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
  21. :target: https://runbot.odoo-community.org/runbot/253/13.0
  22. :alt: Try me on Runbot
  23. |badge1| |badge2| |badge3| |badge4| |badge5|
  24. This module provides a generic tool to have the possibility to see a list of
  25. records associated to a given selection of records. This is basically the UI version of ``recordset.mapped('field1.field2')``.
  26. For example, if you use the sale module, you can configure an action to see
  27. all the products that have been sold for a given selection of sale orders.
  28. **Table of contents**
  29. .. contents::
  30. :local:
  31. Configuration
  32. =============
  33. * Go to 'Setting / Technical / Actions / Server Actions'
  34. * Create a new item
  35. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/ir_actions_server_form.png
  36. * Set a name that will be used for the Contextual Action
  37. * Choose a model
  38. * Select 'Navigate' option in the field 'Action To Do'
  39. * Then, select a field of this model. It can be a ``one2many``, ``many2many``,
  40. ``many2one`` field.
  41. * You can then optionally select another fields (#2) that belong to the previous
  42. selected field (#1) relation model
  43. * Once done, click on the 'Create Contextual Action' to generate a new 'More options'
  44. button.
  45. **Extra options**
  46. * You can define groups whose members will have access to that option.
  47. * You can select an action that will be used to display the target field list.
  48. Usage
  49. =====
  50. * Go to a tree view, for a model for which you have defined a navigation action.
  51. * click on 'Action' Button
  52. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/sale_order_tree.png
  53. * then click on the name of the configured Action and see the results
  54. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/product_product_tree.png
  55. Bug Tracker
  56. ===========
  57. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
  58. In case of trouble, please check there if your issue has already been reported.
  59. If you spotted it first, help us smashing it by providing a detailed and welcomed
  60. `feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20server_action_navigate%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  61. Do not contact contributors directly about support or help with technical issues.
  62. Credits
  63. =======
  64. Authors
  65. ~~~~~~~
  66. * GRAP
  67. Contributors
  68. ~~~~~~~~~~~~
  69. * Sylvain LE GAL (https://www.twitter.com/legalsylvain)
  70. Maintainers
  71. ~~~~~~~~~~~
  72. This module is maintained by the OCA.
  73. .. image:: https://odoo-community.org/logo.png
  74. :alt: Odoo Community Association
  75. :target: https://odoo-community.org
  76. OCA, or the Odoo Community Association, is a nonprofit organization whose
  77. mission is to support the collaborative development of Odoo features and
  78. promote its widespread use.
  79. .. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
  80. :target: https://github.com/legalsylvain
  81. :alt: legalsylvain
  82. Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
  83. |maintainer-legalsylvain|
  84. This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/13.0/server_action_navigate>`_ project on GitHub.
  85. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.