Wednesday, October 9, 2024
6 changes · 17.0
Resolved issues and error corrections
Invoice and sales order PDFs now show declaration of intent information only when a declaration has actually been selected. This avoids confusing or unnecessary wording on customer-facing documents when no declaration applies.
Original PR description
Currently we always try to add a string informing about the used declaration of intent to the invoice / sale order PDF. I.e. it also happens when no declaration of intent is selected. After this commit the string is only added in case there is actually a declaration of intent selected. opw-4237368
This fixes a timezone mismatch in a manufacturing test so it behaves consistently whether demo data is installed or not. It helps keep automated validation stable and reduces false failures in manufacturing-related checks.
Original PR description
The issue: While running the test test_multi_edit_start_date_wo, the calendar is set to the Europe/Brussels timezone when demo data is loaded. However, when demo data is not loaded, the calendar defaults to the UTC timezone. The fix: Adapt the timezone runbot-56562
Fixes an issue in Odoo Mail where adding a reaction could cause the person's display name and related update details to be lost. This helps conversations remain clear and keeps reaction activity accurately linked to the right user information.
Original PR description
odoo/enterprise#69056
This fix ensures the purchase product catalog keeps the correct view layout when other apps customize the default catalog view. It prevents the purchase-specific product card view from accidentally replacing the wrong type of view, reducing confusion for users adding products to purchase orders.
Original PR description
Description of the issue/feature this PR addresses: The method action_add_from_catalog in purchase_stock replaces the product's kanban view with a purchase-specific one. This method directly replaces the first view in the list, which could be wrong if another module changes the default view of the catalog. This commit updates the method to replace only the kanban view, ensuring that other view types are preserved correctly. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents captions from being added to WhatsApp audio messages sent from Odoo. It helps ensure voice messages are delivered in the expected format and avoids confusing or unsupported message content for recipients.
Original PR description
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
The IoT box no longer tries to use a translation helper in places where translations are not supported. This avoids unnecessary warning messages in newer versions without changing how users interact with the hardware drivers.
Original PR description
On the IoT box, translations are not supported as there is no language context and no po/pot files. However, there were still some usages of the `_` function which will now log a warning in version 18.0+. In this PR we simply remove the usages of `_`, as it was not translating anyway and removes the warnings. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr