Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Partner Repair Smart Button
Entity: res.partner
Compute Method: _compute_repair_count
| Inputs | Method | Outputs |
|---|---|---|
|
- for partner in self: - partner.repair_count = self.env["repair.order"].search_count( - [("partner_id", "=", partner.id)] - ) |
|
