[ADD] server_action_navigate

This commit is contained in:
Sylvain LE GAL
2020-02-25 16:27:42 +01:00
parent 2148812601
commit b099a40ace
22 changed files with 1340 additions and 0 deletions

View 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.

View File

@@ -0,0 +1 @@
* Sylvain LE GAL (https://www.twitter.com/legalsylvain)

View 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.

View 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