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

Module: Property Management System

Entity: pms.property

Compute Method: _compute_room_count

View 19.0
Inputs Method Outputs
  • room_ids
+ for rec in self:
+             rec.room_count = len(rec.room_ids)
  • room_count

Back to entity