summaryrefslogtreecommitdiff
path: root/doc/reference/guidelines.rst
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-11-15 13:46:08 +0000
committerjem-odoo <jem@openerp.com>2019-03-05 08:40:37 +0000
commit64662cc2a9f4bbb0cc4a1182a6fe6966090bde8a (patch)
treea3a96055fb6a5d9e08a6abc69ac2f412c122e93f /doc/reference/guidelines.rst
parentdadec538bc8e0cdb0c78dc02e37ec30171c120ab (diff)
[IMP] doc: add guidelines for window actions naming
Rewording of "action" naming section. Task-1817988
Diffstat (limited to 'doc/reference/guidelines.rst')
-rw-r--r--doc/reference/guidelines.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst
index 3f9584b4dd1..91d7e3d1a72 100644
--- a/doc/reference/guidelines.rst
+++ b/doc/reference/guidelines.rst
@@ -293,9 +293,10 @@ Use the following pattern :
``kanban``, ``form``, ``tree``, ``search``, ...
* For an action: the main action respects :samp:`{<model_name>}_action`.
Others are suffixed with :samp:`_{<detail>}`, where *detail* is a
- lowercase string briefly explaining the action.
- This is used only if multiple actions are declared for the
- model.
+ lowercase string briefly explaining the action. This is used only if
+ multiple actions are declared for the model.
+* For window actions: suffix the action name by the specific view information
+ like :samp:`{<model_name>}_action_view_{<view_type}`.
* For a group: :samp:`{<model_name>}_group_{<group_name>}` where *group_name*
is the name of the group, generally 'user', 'manager', ...
* For a rule: :samp:`{<model_name>}_rule_{<concerned_group>}` where