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

Module: Saudi Arabia - Point of Sale

Entity: pos.order

Compute Method: _compute_l10n_sa_reason_value

Inputs Method Outputs
for record in self:
            record.l10n_sa_reason_value = dict(self._fields['l10n_sa_reason']._description_selection(self.env)).get(record.l10n_sa_reason)

Back to entity