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

Module: Calendar

Entity: calendar.event

Compute Method: _compute_res_record

View 20.0
Inputs Method Outputs
  • res_model
  • res_id
+ for event in self:
+             event.res_record = (
+                 f"{event.res_model},{event.res_id}"
+                 if event.res_model and event.res_id else False
+             )
  • res_record

Back to entity