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

Module: Gamification

Entity: gamification.goal.definition

Compute Method: _compute_full_suffix

Inputs Method Outputs
for goal in self:
            items = []

            if goal.monetary:
                items.append(self.env.company.currency_id.symbol or u'ยค')
            if goal.suffix:
                items.append(goal.suffix)

            goal.full_suffix = u' '.join(items)

Back to entity