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

Module: AEAT modelo 369

Entity: l10n.es.aeat.mod369.line.grouped

Compute Method: _compute_amount_str

Inputs Method Outputs
for line in self:
            amount_split = str(line.amount).split(".")
            line.amount_str = amount_split[0].zfill(15) + amount_split[1].zfill(2)

Back to entity