Odoo - Close Ticket
Odoo - Close Ticket changes an Odoo ticket to the configured closed stage for:
- Assets returned by the selected query or assets selected on the relevant asset page.
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
When accessing an enforcement action using the API, you must use the backend form of field names.
Use the Syntax Helper to find the correct name. In the enforcement action, enable Configure Dynamic Values and select Syntax Helper.

Note
- Not all asset types are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Aggregated Security Findings.
- See Actions supported for Software.
Required Fields
These fields must be configured to run the Enforcement Action.
- Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
- Configure Dynamic Values (optional) - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
- Use stored credentials from the Odoo adapter - Select this option to use credentials from the adapter connection.
-
When you select this option, the Select Adapter Connection drop-down becomes available. Select the adapter connection to use for this Enforcement Action.
- Closed Stage ID - Enter the numeric ID of the Odoo Helpdesk stage that represents Closed or Solved.
Note
This action requires an Odoo ticket ID on the selected ticket asset. It cannot run for assets that do not include this ID.
Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Working with Axonius Compute Nodes.
Additional Fields
This Enforcement Action does not have additional optional fields.
Connection and CredentialsWhen Use stored credentials from the adapter is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.
- Use an Odoo adapter connection or provide the connection settings required by the Odoo adapter.
Verify SSL (Optional) (default: enabled) - Selects whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings. This setting is enabled by default on all new adapter settings. If you need to disable SSL verification, make sure you disable this setting.)
HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.
HTTPS Proxy User Name (optional) - The user name to use when connecting to the server using the HTTPS Proxy.
HTTPS Proxy Password (optional) - The password to use when connecting to the server using the HTTPS Proxy.
Gateway Name - Select the Gateway through which to connect to perform the action.
APIs
Axonius uses the Odoo API - POST /json/2/{ticket model}/write. If no ticket model is configured, the action uses helpdesk.ticket.
Required Ports
Axonius must be able to communicate via the following ports:
- TCP port 443 (HTTPS) — confirm the exact port with your Odoo administrator.
Required Permissions
The stored credentials, or those provided in Connection and Credentials, must have the following permission(s) to perform this Enforcement Action:
- The credentials used by the selected Odoo adapter connection must be allowed to update records in the configured Odoo ticket model.
Note: Confirm the exact permission names, scopes, and authentication requirements with your Odoo administrator, as they are not specified in the supplied implementation details.
To learn more about Enforcement Actions, see Enforcement Actions.
Updated 27 days ago
