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

Module: Invoicing

Entity: account.reconcile.model.line

Compute Method: _compute_float_amount

Inputs Method Outputs
for record in self:
            try:
                record.amount = float(record.amount_string)
            except ValueError:
                record.amount = 0

Back to entity