Friday, June 7, 2024
1 change · 17.0
Resolved issues and error corrections
Fixed a bug where the payment term preview was not displaying when a payment term had only one line. Previously, the preview would only appear after adding a second line. Now users can see the payment term preview immediately with just one line configured.
Original PR description
BEFORE (runbot 30/05/2024): https://github.com/odoo/odoo/assets/56789189/81f717b0-29c2-4ae5-8fc0-89b8c6fbf6b4 AFTER: https://github.com/odoo/odoo/assets/56789189/acd9777c-bb46-4aff-a7a9-4f389768fc55 STEP TO REPRODUCE: -Create a payment 15 days after invoice date with one payment term line only -The preview of payment term now should be display on the right bottom corner but it doesn't until we create a second line for it FIX by correct computation of 'example_invalid' will now become True if none lines found Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr