Skip to content

Changed the line 40 from:#113

Open
ogovekwueme wants to merge 1 commit intoCybroOdoo:16.0from
ogovekwueme:generate_payslip
Open

Changed the line 40 from:#113
ogovekwueme wants to merge 1 commit intoCybroOdoo:16.0from
ogovekwueme:generate_payslip

Conversation

@ogovekwueme
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant