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

Module: Payroll

Entity: hr.payslip

Compute Method: _compute_payslip_count

Inputs Method Outputs
for payslip in self:
            payslip.payslip_count = len(payslip.line_ids)

Back to entity