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

Module: Base Tier Validation

Entity: tier.review

Compute Method: _compute_display_status

View 17.0
Inputs Method Outputs
  • status
- """
-         Compute the display status based on the current status value to get the
-         translated status value.
-         """
- selection = self.fields_get(["status"])["status"]["selection"]
- selection_dict = dict(selection)
- for record in self:
-             record.display_status = selection_dict[record.status]
  • display_status

Back to entity