[IMP] doc: add guidelines for window actions naming
Rewording of "action" naming section. Task-1817988
This commit is contained in:
committed by
jem-odoo
parent
dadec538bc
commit
64662cc2a9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user