Wednesday, June 19, 2024
7 changes · 17.0
Resolved issues and error corrections
The update makes Odoo handle older IAP account records with overly long tokens during database neutralization. This prevents neutralization from failing and helps SaaS and PaaS duplicate creation proceed without requiring manual cleanup first.
Original PR description
Since 17.0, the account_token field is limited to 43 characters But some database created before that version might still have some `iap.account` records with token longer than 34 characters. If the neutralization script tries to add `+disabled` (9 characters) to such records, it fails. This prevents the creation of duplicates on the SaaS and PaaS until the invalid records are purged for the database, which is not really obvious if you don't already know the details of the implementation of the `iap.account` model. With this commit, the neutralization script will only try to retain the original value of the token (with `+disabled` appended) if it is going to succeed, and falls back to a dummy value in other cases. opw-3999439
The activity scheduling wizard now shows validation errors as plain text instead of displaying HTML content. This makes the message clearer and more professional for users when something needs correction.
Original PR description
Previously, the validation error message contained HTML content. This PR converts the error message into plain text. Task-3989829
The self-ordering QR menu no longer incorrectly tells customers the restaurant is closed when an active session is open. This prevents confusion for guests previewing or using the QR menu and better reflects the restaurant's actual availability.
Original PR description
Current behavior: When the restaurant is opened and "Self Ordering" is set to "QR menu", the banner "We're currently closed." is shown. Steps to reproduce: - Install "Point of Sale" app and "pos_restaurant" module - Start a restaurant session and go to the backend - In the settings, set "Self Ordering" to "QR menu" and save - Click on "Preview Web interface" - Problem: The banner is shown Solutions: Display the banner if the session is not opened rather than when we have a token (in mode "QR menu", there is no token) opw-3854839 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale order screen no longer displays a $0 price on the parent line of a combo product. This avoids confusion for cashiers and customers by showing prices only where they are meaningful within the combo selection.
Original PR description
Currently the top line of a combo product is always showing a 0$ price. Steps to reproduce: ------------------- * Open a POS Shop session * Add a combo product, confirm selection choices > Observation: The first order line representing the combo product will show a price of 0$ Why the fix: ------------ In saas-17.3 the price is not shown on the combo parent line anymore to avoid any confusion. Discussed with the PO and he asked to put this in 17.0 as well if possible. Here is the commit that did the change in saas-17.3: https://github.com/odoo/odoo/commit/72267340663e47581d42f46deded6830c72fbda3 Slight change as in saas-17.3 `combo_line_ids` is always a list, empty or not and in 17.0 if you have a simple product, `combo_line_ids` will be `undefined`. opw-3942339
This fixes a display issue where a Poland-specific accounting tab could appear for companies that are not Polish. The change keeps country-specific information out of irrelevant records, reducing confusion for users working with accounting entries.
Original PR description
During a fw-port, an error was made and the "or" became an "and". This fixes it, to hide the tab if the move is not from a polish company. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website form snippet now leaves the default 'Your Question' text area truly empty instead of inserting an invisible space. This prevents confusing cursor behavior when users click into the field after saving a form.
Original PR description
The 'Your Question' textarea had space in its default content Steps to reproduce : - Drop form snippet - Save - Click inside "Your Question" task-3879975 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
WhatsApp conversations in Discuss now display the avatar of the linked contact instead of a generic static image. This makes it easier for users to recognize who each WhatsApp message category relates to at a glance.
Original PR description
In the Discuss app, update the avatar for each WhatsApp channel category message, from a static to a dynamic one. The avatar image is fetched from the associated partner. task-3908710 X-original-commit: e3926f3d0eba734073e3fcbce361923a67742bb2