Tuesday, March 26, 2024
4 changes · saas-17.1
Resolved issues and error corrections
Notifications now handle very long words by splitting them across lines instead of letting them overflow. This keeps messages readable and prevents broken-looking notification popups for users.
Original PR description
This commit fixes an issue where very long words were overflowing out of the notification. These words will now be split on multiple lines so they stay always readable. task-3820562 | Before | After | |--------|--------| | <img width="424" alt="Screenshot 2024-03-21 at 15 59 31" src="https://github.com/odoo/odoo/assets/110090660/717fd6e8-0d3f-42ba-b9b1-905ba3c76aa1"> | <img width="450" alt="Screenshot 2024-03-21 at 16 00 26" src="https://github.com/odoo/odoo/assets/110090660/f9311e75-3edc-4be8-955a-b7ff3c5fd431"> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a timing issue that could prevent Mexican electronic invoicing details entered in the POS invoice dialog from being saved before the invoice was created. The change makes related automated checks more reliable and helps ensure the intended invoice information is used.
Original PR description
This tour was failing undeterministically because the values set in the dialog were not saved to the database. A naive fix was quickly merged in 2be6e64ef23717ab36dbba87723db666a1757eee: we kept the default values in the dialog (so it was no longer failing even if the values weren't saved). This actually occurs because we call `action_pos_order_invoice` before saving the values of the dialog to the server. Adding an `await` fixes this. Hence we can set a random (different from the default) `l10n_mx_edi_usage` and `l10n_mx_edi_cfdi_to_public`. runbot build error 60671
The Documents app now avoids showing a browser error when a thumbnail update fails because someone else already updated it. This reduces unnecessary interruptions during document work and keeps the experience smoother.
Original PR description
Bug === If the thumbnail update failed, an error is raised in the browser. This can happen if it was already updated by someone else.
This update fixes a minor issue where certain elements within the Point of Sale (POS) session, including numpad buttons and client editor fields, were not displaying translated text. This ensures a consistent and localized experience for users interacting with the POS system, regardless of their language settings. The fix addresses a reported problem (opw-3783252, opw-3756593) and improves usability.
Original PR description
Issue ----- In a POS session, some buttons of the numpad and some fields in the client editor form are not translated. **opw-3783252 opw-3756593** Forward-Port-Of: odoo/odoo#157509