Daily updates from Odoo
Friday, April 5, 2024
115 changes
New functionality added to Odoo
This update adds Turkish language translations for the Website Sale Stock module descriptions in Odoo. The module descriptions, which were previously only available in English, are now localized to Turkish, improving the user experience for Turkish-speaking customers who use Odoo's e-commerce features.
Original PR description
Description of the issue/feature this PR addresses: ir.module.module,description:base.module_website_sale_stock tr localization Current behavior before PR: the expressions are written in English Desired behavior after PR is merged: Giving the expressions for the ir.module.module,description:base.module_website_sale_stock model in Turkish --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds Turkish language translations for the Website Sales Stock module descriptions in Odoo. Previously, module descriptions were only available in English. This change enables Turkish-speaking users to see module information in their native language, improving the user experience for Turkish Odoo installations.
Original PR description
Description of the issue/feature this PR addresses: ir.module.module,description:base.module_website_sale_stock tr localization Current behavior before PR: the expressions are written in English Desired behavior after PR is merged: Giving the expressions for the ir.module.module,description:base.module_website_sale_stock model in Turkish --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds Turkish language translations for the Website Sale Stock module description in Odoo. The module descriptions are now available in Turkish, improving the user experience for Turkish-speaking customers who use the platform.
Original PR description
Description of the issue/feature this PR addresses: ir.module.module,description:base.module_website_sale_stock tr localization Current behavior before PR: the expressions are written in English Desired behavior after PR is merged: Giving the expressions for the ir.module.module,description:base.module_website_sale_stock model in Turkish --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
This update adds Turkish language localization for the Website Sales Stock module description in Odoo. Previously, the module description was displayed in English regardless of the user's language setting. After this change, Turkish-speaking users will see the module description in their native language, improving the user experience for Turkish customers and partners.
Original PR description
Description of the issue/feature this PR addresses: ir.module.module,description:base.module_website_sale_stock turkish localization Current behavior before PR: expressions are shown in English. Desired behavior after PR is merged: It has been ensured that it is in Turkish. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fix resolves a system error that occurred when users attempted to generate Spanish Facturae EDI documents for credit notes created manually without an associated invoice. Previously, the system would crash with a technical error. Now it displays a clear, user-friendly error message explaining that an invoice link is required to generate the EDI document.
Original PR description
Currently, a traceback appears when you attempt to generate a Facturae document for a credit note created manually. ### Steps to reproduce * install `l10n_es_edi_facturae` * create a credit not manually (not from an invoice) * confirm and attempt to generate the Facturae EDI file You should be me with a traceback: `ValueError: not enough values to unpack (expected 1, got 0)` ### Cause To generate the EDI document, the system needs the credit note to have a link to the refunded invoice. However, in this case, there's no invoice since the credit note was created manual. opw-3786219 opw-3772085 opw-3811170 Forward-Port-Of: odoo/odoo#158283
This update corrects how GST (Goods and Services Tax) groups are calculated in India. Previously, when applying a 5% GST group to a price, the two component taxes were calculating different amounts (7.02 vs 7.20), which was incorrect. The fix ensures both child taxes calculate the exact same amount, providing accurate tax computations for Indian businesses using Odoo's point of sale and accounting systems.
Original PR description
… india Configure the group of taxes 5% GST to be price_included and apply it on 295. Both children taxes must have the exact same amount. However, this is not the case. In this example, we get 7.02 for one tax (correct) but 7.20 for the other. This is because both taxes are "include_base_amount". opw-3758458 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#160126 Forward-Port-Of: odoo/odoo#157890
Fixed an issue where disabling the event submenu would result in a 404 error. Now when the submenu is disabled, users are automatically redirected to the event registration page instead, providing a better user experience.
Original PR description
**Description of the issue/feature this PR addresses:** **Before this PR:** When disabling the submenu for events, it would show a 404 Page Not Found error. **After this PR:** Now, the current behavior is that when the submenu is disabled, it redirects to the /register page of the event. task-3658380 Forward-Port-Of: odoo/odoo#152409
This update fixes a display issue in the Project module where task stage names were misaligned when viewing the kanban board on mobile devices. The fix prevents text overflow by applying proper styling to stage names, ensuring they display correctly regardless of length.
Original PR description
Steps to reproduce: - Open the project in mobile view - go to the kanban view enable task stages - add one new staged with large name you can see name is misaligned Issue: - In mobile view task stage name is misaligned Solution: - Adding class 'o_text_overflow' to not overflow name in kanban view task-3602610 Forward-Port-Of: odoo/odoo#145915
This fix prevents portal users from creating, editing, or opening milestones when viewing sub-tasks in shared projects. Previously, the milestone field incorrectly allowed these operations, causing errors. The fix restricts these permissions for project sharing views to ensure only authorized users can manage milestones.
Original PR description
Steps: - Install project app. - Share a project which contains a task and sub-task and project should have allow milestone - Go to task form in project sharing. - Go to milestone field of sub-task page. Issue: - Milestone field has can create and can open options enable and because of that portal user able to create edit or open milestone and which leads to tracebacks Cause: - There was no options added to prevent those attribute from that field for project sharing views. Fix: - Added option to prevent those operation for project sharing view. Note: Add this options in blockby page in FW port. task-3764782 Forward-Port-Of: odoo/odoo#155358
This update makes it easier to configure Viva Wallet payments by automatically copying the webhook to your clipboard with a single click, eliminating the need to manually select and copy the text. This streamlines the payment method setup process for users.
Original PR description
Currently, when you copy the viva wallet webhook to configure it in your account, you have to select it manually. With this commit we add a “CopyClipboardChar” widget which does this automatically. 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
This update corrects an incorrect translation in the Slovak language file. The word for "Lithuania" was mistakenly using a corrupted version of the Latvian translation. This fix ensures users in Slovakia see the proper translation of country names in the system.
Original PR description
Description of the issue/feature this PR addresses: current translation is bastardized (missing one letter) translation of Latvia (sk: Lotyšsko). Current behavior before PR: Desired behavior after PR is merged: Correct translation of Lithuania This goes back to at least 12.0 Not skilled enough to find original commit for this :-( --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the HR Expense module by converting inline templates to standard templates, making text strings translatable. Previously, messages displayed in expense reports could not be translated into different languages. This fix ensures that all user-facing text in the expense module can now be properly localized for international users.
Original PR description
*: hr_expense Strings within inline templates are not translatable, so we convert these templates into standard templates so that they can be. Task-3761551 enterprise pr: https://github.com/odoo/enterprise/pull/59877 Forward-Port-Of: odoo/odoo#160586 Forward-Port-Of: odoo/odoo#159892
This fix resolves an issue where downloading files that trigger large error messages (over 65KB) would fail in Chrome and Safari browsers. The system now correctly processes the entire error message instead of only part of it, ensuring users receive proper error notifications when downloads encounter problems.
Original PR description
### Issue When handling a non-200 reponse with a large payload (>65536 bytes), download.js fails to decode the payload properly on Chrome/WebKit. This is because the content is parsed using WebKit's…
### Issue When handling a non-200 reponse with a large payload (>65536 bytes), download.js fails to decode the payload properly on Chrome/WebKit. This is because the content is parsed using WebKit's `DOMParser.parseFromString`, which creates several Text nodes if the text would exceed 65536 bytes. Then, only the textContent of the second Text node is passed to `JSON.parse()`, which fails because it is not valid JSON. See [this StackOverflow comment](https://stackoverflow.com/questions/67738121/in-what-cases-do-browsers-create-multiple-adjacent-text-nodes/67774415#67774415) and [the WebKit code](https://github.com/WebKit/WebKit/blob/68ae0fde5f959e056fbd6700f1ca7fa652cd1ffa/Source/WebCore/html/parser/HTMLConstructionSite.cpp#L584-L592) ### Steps to reproduce This example works only in 17.1 and master due to the larger files now generated by the Romanian SAF-T export. However, you can reproduce it in any version by raising an InternalServerError with a response content larger than 65536 bytes in any controller called by `download()`. 1. Install l10n_ro_saft on a 17.1 database 2. Switch to 'RO Company' 3. Go to partner 'Azure Interior' and remove the address details (this will make the report generation return an error containing the report content) 4. Go to Accounting -> Reports -> General Ledger 5. Click on the arrow next to 'PDF' and click on 'SAF-T'. taskid: 3790302 Forward-Port-Of: odoo/odoo#160577 Forward-Port-Of: odoo/odoo#156672
This fix restores the ability to process partial refunds for Point of Sale orders. A previous change had inadvertently broken this feature by causing incorrect total amount calculations. This update reverts that problematic change to ensure customers and staff can properly refund orders for partial amounts.
Original PR description
This reverts commit https://github.com/odoo/odoo/commit/ae7d18dd5f2a712348fc0911777b164c7a273c0a to allow partial refunding of pos order as the total_amount is not correct anymore. opw-3827876
This update brings the spreadsheet feature to the latest version with multiple bug fixes and performance enhancements. Users will experience improved chart label handling, faster spreadsheet loading, better compatibility with Firefox, and fixes for data validation and chart formatting issues. The update also includes a dependency upgrade to ensure the application runs smoothly.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/33f09d7c4 [REL] 17.0.17 https://github.com/odoo/o-spreadsheet/commit/1767b3728 [FIX] chart: preserve label order when…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/33f09d7c4 [REL] 17.0.17 https://github.com/odoo/o-spreadsheet/commit/1767b3728 [FIX] chart: preserve label order when aggregate https://github.com/odoo/o-spreadsheet/commit/6c96ded0b [PERF] helpers: faster default cell height Task: 3845472 https://github.com/odoo/o-spreadsheet/commit/b48eb1cf7 [IMP] package: update owl to version 2.2.10 https://github.com/odoo/o-spreadsheet/commit/c2f6da219 [FIX] *: Compute max/min on huge arrays Task: 3802691 https://github.com/odoo/o-spreadsheet/commit/06db89656 [FIX] Charts: format of negative values https://github.com/odoo/o-spreadsheet/commit/c2eed35cb [FIX] EditionPlugin: data validation duplicate values https://github.com/odoo/o-spreadsheet/commit/ed7d3fa63 [FIX] BottomBarSheet: Rename a sheet with style content on Firefox Task: 3754944 https://github.com/odoo/o-spreadsheet/commit/33ed353a9 [FIX] bottom_bar: disable sheet drag & drop in readonly Task: 3820888 https://github.com/odoo/o-spreadsheet/commit/261616dfa [FIX] menu: non-aligned menu items Task: 3814222