Action
The N2 Action module provides additional controls for creating Odoo automation. It allows you to define triggers that respond to method calls and server actions, create reusable workflows, and customize the user interface by adding form view headers, buttons, and status bars.
Dependencies
This module depends on the following modules *:
n2n2_uin2_triggern2_data
*Built-in modules not listed
ActionNode
Executes server action on one or more records of a model.
Parameters
idsEvalmodelRawrecord_idsRaw
RunNode
Runs another workflow graph from within the current workflow. Useful for modularizing automation by reusing existing graphs.
Parameters
record_id Raw
OnActionTriggerNode
Executes the workflow when a specific server action is called. This is used to extend standard Odoo actions with additional custom behavior.
Parameters
modelRawrecord_idsRaw
OnMethodTriggerNode
Executes the workflow when a particular method on a model is called. This node allows automation to respond to business logic changes.
Parameters
modelRawmethod_nameRaw
CodeServerActionStarterNode
Creates a new server action that executes Python code. This node is used to programmatically define automation logic without creating a new Odoo module.
Parameters
modelRawnameRawcodeRawuse_existingRawremove_on_resetRaw
ViewHeaderStarterNode
Adds a custom header to a form view. This can include status bar or action buttons.
Parameters
modelRawview_idRawgroup_idsRawinvisibleRawuse_existingRawremove_on_resetRaw
StatusBarStarterNode
Adds a status bar to a form view header. This can display workflow status, progress, or other indicators relevant to the user.
Parameters
modelRawfield_nameRawgroup_idsRawvisibleRawinvisibleRaw
FormActionButtonStarterNode
Adds a clickable action button to a form view header to trigger server actions.
Parameters
modelRawaction_idRawgroup_idsRawdisabledRawiconRawcaptionRaw