Wednesday, February 12, 2025
5 changes · 17.0
Resolved issues and error corrections
The contributing guide now points readers to the correct pull request guidance instead of a broken page. This helps contributors find the right template and reduces confusion when submitting changes.
Original PR description
Description of the issue/feature this PR addresses: In the 'CONTRIBUTING.md' file , there is a list item with the text: > Use this **template** when reporting issues. Please search for duplicates first! The link named 'template' should point to a pull request template. Current behavior before PR: The link named 'template' is broken and give a 404 error. Desired behavior after PR is merged: The link named 'template' now target the 'Contributing' wiki page, section 'making-pull-request' that contains the desired template. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Granting portal access to a contact now reliably creates the portal user even when the system default notification setting is set to in-app messages. This avoids an error during portal user creation and ensures portal users receive notifications by email, which is the supported option for them.
Original PR description
Portal users can't have notifications handled in odoo. This commit protects from creation portal user with such setting by defaulting to email notification. Reproduce --- - i contacts,portal - add ir.default: - open setting/user - set notification to handle in odoo - bug icon -> set default -> set handling notification in odoo as default - open some contact -> gear icon -> grant portal access - BUG: ERROR: new row for relation "res_users" violates check constraint "res_users_notification_type" opw-4520104
This fixes a point of sale receipt issue where certain order details from related features could disappear unless a QR code was present. Receipts now keep the required placeholder available at all times, helping localization, payment, and restaurant receipt information display reliably.
Original PR description
Before this commit: === - The `pos-receipt-order-data` class was used as an XPath reference in multiple modules (l10n_fr_pos_cert, l10n_co_pos, pos_mercury, and pos_restaurant). - In point_of_sale, first of this class was used to add a QR code (pos_qr_code) to the receipt, but it was wrapped in a t-if="pos_qr_code" condition. - Due to this, the XPath content from other modules was only visible when pos_qr_code was present. After this commit: === - Added an empty `<div class="pos-receipt-order-data" />` outside the conditional block. - This ensures that the XPath reference is always available. task-4552477
Portal users can now update their personal information even when no country is set on their profile. This prevents an internal server error and makes account self-service more reliable for affected customers.
Original PR description
Having no country on a portal user would cause attempting to edit personal information through the portal to have an internal server error. Added a check to country_id to ensure that the country_id is a numerical value before casting to an int to avoid this internal server error. opw-4309159
## Versions: 17.0+ ## Issue: Translation of the English "Balance" word is displayed as "Balanza" in all Spanish files but should be "Balance" as well. "Balanza" meaning "Scale", the translation is sometimes right. opw-4461450
Original PR description
## Versions: 17.0+ ## Issue: Translation of the English "Balance" word is displayed as "Balanza" in all Spanish files but should be "Balance" as well. "Balanza" meaning "Scale", the translation is sometimes right. opw-4461450