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

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

Back to entity