Server Action Logging

server_action_logging
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/server_action_logging
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Vincent Van Rossem
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows displaying logs when server actions are executed:

1.  a log is generated as soon as an action starts
2.  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
3.  if action's field `Enable SQL Debug` is set, queries are logged too
    during the action's execution

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
ir_actions_server_form_inherit ir.actions.server.form.inherit ir.actions.server xpath Inherits base.view_server_action_form
Models touched (1)

New fields (1)
  • enable_sql_debug Boolean
    default=False help='Enable SQL Debug for this action' string='Enable SQL Debug'
Public methods (1)
  • run(self)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/server_action_logging
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, SilvioC2C, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
ir_actions_server_form_inherit ir.actions.server.form.inherit ir.actions.server xpath Inherits base.view_server_action_form
Models touched (1)

New fields (1)
  • enable_sql_debug Boolean
    default=False help='Enable SQL Debug for this action' string='Enable SQL Debug'
Public methods (1)
  • run(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-tools
PULL REQUEST
PULL REQUEST[MIG] server_action_logging: Migration to 18.0 (#3555)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-tools
PULL REQUEST
PULL REQUEST[18.0] [MIG] server_action_logging: Migration to 18.0 (#3073)