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

Module: Sale payment sheet

Entity: sale.payment.sheet

Compute Method: _compute_name

Inputs Method Outputs
for sheet in self:
            sheet.name = "{} - {} - {}".format(
                sheet.date and sheet.date.strftime("%Y.%m.%d"),
                sheet.journal_id.name,
                sheet.user_id.name,
            )

Back to entity