CybroOdoo / OpenHRMS

GNU Affero General Public License v3.0
126 stars 214 forks source link

Changed the line 40 from: #113

Open ogovekwueme opened 5 months ago

ogovekwueme commented 5 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.