Wednesday, October 9, 2024
14 changes · 17.0
Enhancements to existing features
Invoices now show fapiao information directly in the invoice list, making it easier for users in China-related accounting workflows to review tax invoice status at a glance. This reduces the need to open individual invoices to find key compliance details.
Original PR description
Description of the issue/feature this PR addresses: Add fapiao to invoice list view --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Existing Jordan customer databases will have their older tax groups updated automatically after migration. This helps keep tax reporting data aligned with the latest localization setup without manual cleanup.
Original PR description
This commit is a followup to this PR https://github.com/odoo/odoo/pull/180766 This commit introduces a post-migrate script to update the tax groups of the old customer DBs. task-4196993 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reflects the official 2022 name change of the Republic of Turkey to the Republic of Türkiye. The change updates the country name across Turkish localization modules and their descriptions in the Odoo system to maintain accuracy and compliance with the country's official designation.
Original PR description
In 2022, Republic of Turkey officially renamed itself to Republic of Türkiye. So, its name needed to be changed in its Odoo modules. Moreover, updated Turkish modules descriptions according to this excalidraw: https://link.excalidraw.com/readonly/rbesZEAkXUS8rVgXplgm?darkMode=true task-4182931 Forward-Port-Of: odoo/enterprise#70304
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
Features or functions removed from Odoo
This change removes an old, redundant sales margin screen customization that could interfere with future adjustments to purchase price fields. It helps prevent confusing display issues without changing day-to-day sales workflows.
Original PR description
**Description of the issue/feature this PR addresses:** Remove redundant view which is still there from old days and introducing the same inheritance in the view underneath in the file. It is nowhere inherited in core code, but will create issues if you try to inherit purchase_price in the view underneath, namely not being visible (probably another issue in the framework). **Current behavior before PR:** Redundant view from old days creating issues **Desired behavior after PR is merged:** No issues based on redundant field / views Info: @wt-io-it --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
Lots of contact information has been changed and some banks has been sold their bisiness portfolio over the years. In some cases the telephone and email links were in the wrong order. Some of the banks were merged or under Sanctions. (Sberbank, IC, MKB, Budapest, Commerz, FHB... ) Original credits to `kerteszgergo`: odoo/odoo#108301 Forward-Port-Of: odoo/odoo#181547
Original PR description
Lots of contact information has been changed and some banks has been sold their bisiness portfolio over the years. In some cases the telephone and email links were in the wrong order. Some of the banks were merged or under Sanctions. (Sberbank, IC, MKB, Budapest, Commerz, FHB... ) Original credits to `kerteszgergo`: odoo/odoo#108301 Forward-Port-Of: odoo/odoo#181547
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
In 2022, Republic of Turkey officially renamed itself to Republic of Türkiye. So, its name needed to be changed in its Odoo modules. Moreover, updated Turkish modules descriptions according to this excalidraw: https://link.excalidraw.com/readonly/rbesZEAkXUS8rVgXplgm?darkMode=true task-4182931 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#180758
Original PR description
In 2022, Republic of Turkey officially renamed itself to Republic of Türkiye. So, its name needed to be changed in its Odoo modules. Moreover, updated Turkish modules descriptions according to this excalidraw: https://link.excalidraw.com/readonly/rbesZEAkXUS8rVgXplgm?darkMode=true task-4182931 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#180758
Prior to this commit, there were scenarios where sync orders did not contain an order, leading to a failure when reading its state. This commit introduces a check to ensure the order exists in sync before its state is read, thereby preventing this error. backport of `https://github.com/odoo/odoo/pull/162943` opw-4190381 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#181366
Original PR description
Prior to this commit, there were scenarios where sync orders did not contain an order, leading to a failure when reading its state. This commit introduces a check to ensure the order exists in sync before its state is read, thereby preventing this error. backport of `https://github.com/odoo/odoo/pull/162943` opw-4190381 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#181366
[FIX] website: fix Facebook snippet The goal of this commit is to solve three bugs introduced by [1]. The first one can be observed thanks to the `/website/demo/snippets` page: - Go on the `/website/demo/snippets` page. - Try to enter in edit mode. -> The system never enters in edit mode. The problem is that the Facebook snippet on this page does not have the `href` data attribute. Due to it, the public widget is started without creating `this.resizeObserver`. When the user tries
Original PR description
[FIX] website: fix Facebook snippet The goal of this commit is to solve three bugs introduced by [1]. The first one can be observed thanks to the `/website/demo/snippets` page: - Go on the…
[FIX] website: fix Facebook snippet The goal of this commit is to solve three bugs introduced by [1]. The first one can be observed thanks to the `/website/demo/snippets` page: - Go on the `/website/demo/snippets` page. - Try to enter in edit mode. -> The system never enters in edit mode. The problem is that the Facebook snippet on this page does not have the `href` data attribute. Due to it, the public widget is started without creating `this.resizeObserver`. When the user tries to enter in edit mode, the `FacebookPageWidget` public widget is destroyed and the system tries to disconnect `this.resizeObserver`. As it is not defined, the system fails in the `destroy()` method. Steps to reproduce the second bug: - Add an "Image-Text" snippet on the website. - Add a "Text-Image" snippet under the "Image-Text" one. - Save and edit. - Drop a "Facebook" snippet on the "Image-Text" snippet. - Move the "Facebook" snippet on the "Text-Image" snippet. - Click on the undo button. -> Two iframes are on the Facebook snippet. The problem is that since [1], the editor observer is not deactivated when removing the iframe in the `destroy()` method of the `FacebookPageWidget` widget. Finally, this commit also adds back the `frameborder`, `aria-label` and `allowTransparency` attributes on the iframe (removed due to [1] or its forward port [2]) and sets the width and height in the style attribute. Although the `frameborder` and `allowTransparency` attributes are deprecated, this commit adds them back in case a potential customization relies on it. [1]: https://github.com/odoo/odoo/commit/707dd91d1e83342a328e50b5ad38e6ec1064ec25 [2]: https://github.com/odoo/odoo/commit/4e65fe558d0861192b0eaaa8aa8479b13eb3b2c0 task-4220972 Forward-Port-Of: odoo/odoo#182134