Friday, June 7, 2024
4 changes · 17.0
Resolved issues and error corrections
The accounting view now applies the same payment filtering when users open miscellaneous operations as it already did in the displayed totals. This helps users see consistent and accurate accounting lines, reducing confusion when reviewing payment-related entries.
Original PR description
Since 5c0bb29e8f30, we filter the payments from the miscellaneous operations to display the right value, but we don't do the same for the lines displayed when cliking on the misc operations button, this commit fixes that. opw-3925808
This update adds a stable identifier to the date area on point of sale receipts. It makes related enterprise customizations easier and safer to apply without changing what customers see on the receipt.
Original PR description
This only adds an id to the div containing the date in the order receipt so that it can be xpath easily in the enterprise PR. Enterprise PR: odoo/enterprise#63966 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents phone numbers from wrapping onto a second line in PDF quotations using the DIN5008 layout. It keeps customer contact details clearer and improves the professional appearance of generated sales documents.
Original PR description
**Current behavior:** In the din5008 style quotation, certain phone number values will wrap to a second line below the one where they begin. **Expected behavior:** A phone number will not occupy more…
**Current behavior:**
In the din5008 style quotation, certain phone number values will
wrap to a second line below the one where they begin.
**Expected behavior:**
A phone number will not occupy more than 1 line, vertically.
**Steps to reproduce:**
1. Build the latest version of Odoo's wkhtmltopdf fork and
ensure it has a higher priority in $PATH than one installed
with apt-get
2. Set the DB document layout use din5008 and open sans font
3. Change a contact's country to Austria and give them the phone
number "+43 4846 0000"
4. Create a new quotation for this client, print it as a
`PDF Quote` or `Quotation/Order`, look at the line
displaying the client phone number to see the bad text wrap
**Cause of the issue:**
There was a portal redesign in which the `Contact` qweb widget
was modified, this inadvertently cause some style issues in
certain cases.
Underlying problem with wkhtmltopdf(?)
**Fix:**
Add a strict style attribute to this div which prevents text
wrapping.
opw-3764486Fixed 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