Saturday, December 23, 2023
1 change · 17.0
Resolved issues and error corrections
Fixed an issue where batch payment PDF reports were limited to displaying only 20 payments per page, causing excessive white space and awkward page breaks. The fix removes this artificial limit, allowing more payments to fit naturally on each page and creating cleaner, more efficient PDF documents.
Original PR description
Steps to reproduce: - Install Accounting - Activate "Batch Payments" in Accounting settings - Go to "Accounting / Customers / Payments" - Create more than 20 payments - Select all the payments and create a batch payment - Confirm the batch payment and print it => Each page of the generated PDF only contains 20 payments, letting a lot of white space at the bottom of the page between each page. If the customer names are very long and are displayed on several lines, it can happen that the 1st page contains the 19 first payments (displayed on the whole page) and the 2nd page only contains the 2Oth payment. Then the next 20 payments are displayed on the 3rd page, leaving the 2nd page almost empty. opw-3597753 Forward-Port-Of: odoo/enterprise#53316 Forward-Port-Of: odoo/enterprise#51604