Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Base

Entity: ir.actions.server

Compute Method: _compute_warning

Inputs Method Outputs
for action in self:
            if (warnings := action._get_warning_messages()):
                action.warning = "\n\n".join(warnings)
            else:
                action.warning = False

Back to entity