CybroOdoo / OpenHRMS

GNU Affero General Public License v3.0
137 stars 223 forks source link

Changed the line 40 from: #113

Open ogovekwueme opened 8 months ago

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