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

Module: Check Printing Base

Entity: account.payment

Compute Method: _compute_check_amount_in_words

Inputs Method Outputs
  • currency_id
  • amount
for pay in self:
            if pay.currency_id:
                pay.check_amount_in_words = pay.currency_id.amount_to_text(pay.amount)
            else:
                pay.check_amount_in_words = False

Back to entity