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

Module: Purchase Agreements

Entity: purchase.order

Compute Method: _compute_has_alternatives

View 17.0
Inputs Method Outputs
- self.has_alternatives = False
- self.filtered(lambda po: po.purchase_group_id).has_alternatives = True
  • has_alternatives

Back to entity