mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[ADD] server_action_navigate
This commit is contained in:
committed by
Ashish Hirpara
parent
52c3496ec4
commit
b5e9abc711
27
server_action_navigate/readme/CONFIGURE.rst
Normal file
27
server_action_navigate/readme/CONFIGURE.rst
Normal file
@@ -0,0 +1,27 @@
|
||||
* Go to 'Setting / Technical / Actions / Server Actions'
|
||||
|
||||
* Create a new item
|
||||
|
||||
.. figure:: ../static/description/ir_actions_server_form.png
|
||||
|
||||
* Set a name that will be used for the Contextual Action
|
||||
|
||||
* Choose a model
|
||||
|
||||
* Select 'Navigate' option in the field 'Action To Do'
|
||||
|
||||
* Then, select a field of this model. It can be a ``one2many``, ``many2many``,
|
||||
``many2one`` field.
|
||||
|
||||
* You can then optionally select another fields (#2) that belong to the previous
|
||||
selected field (#1) relation model
|
||||
|
||||
* Once done, click on the 'Create Contextual Action' to generate a new 'More options'
|
||||
button.
|
||||
|
||||
|
||||
**Extra options**
|
||||
|
||||
* You can define groups whose members will have access to that option.
|
||||
|
||||
* You can select an action that will be used to display the target field list.
|
||||
1
server_action_navigate/readme/CONTRIBUTORS.rst
Normal file
1
server_action_navigate/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
||||
* Sylvain LE GAL (https://www.twitter.com/legalsylvain)
|
||||
5
server_action_navigate/readme/DESCRIPTION.rst
Normal file
5
server_action_navigate/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
This module provides a generic tool to have the possibility to see a list of
|
||||
records associated to a given selection of records. This is basically the UI version of ``recordset.mapped('field1.field2')``.
|
||||
|
||||
For example, if you use the sale module, you can configure an action to see
|
||||
all the products that have been sold for a given selection of sale orders.
|
||||
10
server_action_navigate/readme/USAGE.rst
Normal file
10
server_action_navigate/readme/USAGE.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
* Go to a tree view, for a model for which you have defined a navigation action.
|
||||
|
||||
* click on 'Action' Button
|
||||
|
||||
.. figure:: ../static/description/sale_order_tree.png
|
||||
|
||||
|
||||
* then click on the name of the configured Action and see the results
|
||||
|
||||
.. figure:: ../static/description/product_product_tree.png
|
||||
Reference in New Issue
Block a user