This module allows displaying logs when server actions are executed:
- a log is generated as soon as an action starts
- a log is generated if the action is completed without any exception being raised, and the log displays the duration (in seconds) of the action itself
- if action's field Enable SQL Debug is set, queries are logged too during the action's execution
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Adds logging around the execution of server actions in Odoo, recording when an action starts and when it finishes with its duration. A new 'Enable SQL Debug' option on the server action form also logs the SQL queries run during that action.
This module changes how server actions behave when they are executed, by writing information to the Odoo log.
- When a server action runs, a log entry is written saying the action has started, showing the action's name.
- When the action finishes without error, another log entry is written showing how long it took, in seconds.
- On the server action form, a new checkbox called 'Enable SQL Debug' appears (after the State field). It is off by default to avoid flooding the log.
- If that checkbox is ticked, the SQL queries executed during that action are also logged; the previous logging level is restored afterwards.
- The module avoids logging itself recursively when actions are run from within another action.
It touches the ir.actions.server model and its form view, and relies on the standard Odoo logging system. There are no new menus or reports; the feature is visible in the server action configuration screen and in the log output.
Depends on
Models and fields (1)
- ir.actions.server · extends an existing modelenable_sql_debug (Enable SQL Debug)
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/server-tools.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0To enable Odoo logs tracking the actions start and duration, you just need to install this module. To track SQL queries during an action's execution, open the action form view and check field Enable SQL Debug.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.