Open ogovekwueme opened 8 months ago
payslip += self.env['hr.payslip'].create(res) payslip = self.env['hr.payslip'].create(res)
The payslip generation takes too long because when processing payslips, it starts all over again on every iteration. Removing the compound addition solves this.
payslip += self.env['hr.payslip'].create(res) payslip = self.env['hr.payslip'].create(res)
The payslip generation takes too long because when processing payslips, it starts all over again on every iteration. Removing the compound addition solves this.