Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: PMS - Contracts
Entity: pms.property
Compute Method: _compute_get_contracts
| Inputs | Method | Outputs |
|---|---|---|
|
+ for rec in self: + contracts = rec.service_ids.mapped("contract_id") + rec.contract_ids = contracts + rec.contract_count = len(contracts) |
|
