Thursday, December 19, 2024
14 changes
1 change
Resolved issues and error corrections
This update brings the spreadsheet component to a newer version with several fixes that improve reliability and data preservation. Users should see fewer crashes and better handling of spreadsheet formatting when importing or exporting XLSX files, including spaces and line breaks.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/9a9ae3134 [REL] 17.2.30 Task: 0 https://github.com/odoo/o-spreadsheet/commit/c8020b715 [FIX] sheet view: DELETE_SHEET…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/9a9ae3134 [REL] 17.2.30 Task: 0 https://github.com/odoo/o-spreadsheet/commit/c8020b715 [FIX] sheet view: DELETE_SHEET in initial revisions Task: 4405573 https://github.com/odoo/o-spreadsheet/commit/1dab70257 [FIX] cell: keep non-breaking spaces Task: 4403607 https://github.com/odoo/o-spreadsheet/commit/0fcf7b771 [FIX] xlsx: preserve leading whitespace at export Task: 4044862 https://github.com/odoo/o-spreadsheet/commit/7ebc18d82 [FIX] xlsx: import new lines in sharedStrings Task: 4044862 https://github.com/odoo/o-spreadsheet/commit/fbae6dfea [FIX] figure: crash on deleting dragged figure Task: 4329240 https://github.com/odoo/o-spreadsheet/commit/1bac83369 [FIX] composer: topbar composer z-index Task: 4246966 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
1 change
Resolved issues and error corrections
Appointment and Studio pages opened from shortcut buttons now keep the same filtered results after a page reload. This prevents users from seeing unrelated records and makes navigation more predictable.
Original PR description
**Before this commit:** When a user was redirected to a window through a stat button, the window displayed only filtered data using a domain set by a Python function. However, when the user reloaded the page, the window displayed unfiltered data. **After this commit:** - After a reload, the window will display the same filtered data by creating a new XML action window with a specified domain. - For dedicated action windows related to stat buttons, the domain and context have been directly added to the action window. - Redundant and unused functions have been removed from the codebase to improve efficiency. Community: https://github.com/odoo/odoo/pull/189270 Task-4229211
11 changes
Resolved issues and error corrections
This update fixes several combo product setup issues, including quantity editing loopholes, unnecessary configurator popups, validation gaps, and access problems. It also adds broader automated tests so combo and product configuration flows behave more consistently and reliably for sales and website sales users.
Original PR description
This change: - Adds tests for the combo models, - Adds tests for the combo configurator, - Aligns the product configurator tests with the combo configurator ones. It also fixes some issues: - Previously, the plus/minus buttons were disabled in the combo configurator when increasing/decreasing the quantity wasn't allowed, but is was still possible to edit the quantity via the input. - Previously, the combo configurator was always opened if one of the combo items had a `no_variant` attribute, even if it wasn't configurable. - Some of the combo models' constraints weren't strict enough. - There were some access issues. Enterprise PR: https://github.com/odoo/enterprise/pull/73556 task-4320163
1 change
Resolved issues and error corrections
This update fixes an issue where credit notes were incorrectly appearing in the invoices section of the Tax Report 349 (Mod 349) for ES companies. The fix ensures that credit note amounts are now correctly displayed in the refunds section, aligning with ES tax reporting requirements for intra-Community operations. This improves the accuracy of tax reporting data.
Original PR description
In ES localization Tax Report 349 is an informative tax return report for intra-Community operations. Currently, the tax report will show amounts from credit notes in the invoices section, instead of the refunds section Steps to reproduce: - Have an ES Company setup - Create and confirm credit note with: - EU partner - Type for mod 349: A - Go to Accounting > Reporting > Tax Report - Select Report: Tax Report (Mod 349) (ES) Issue: Credit Notes appear in the invoices section instead of the refunds section opw-4358330 Forward-Port-Of: odoo/enterprise#75266
Fixes an access issue that could prevent public or portal customers from submitting checkout extra-step forms, especially when uploading files. The change makes form handling more reliable across website CRM, recruitment, and project integrations by ensuring required model checks use the proper elevated access.
Original PR description
Versions -------- - 18.0+ Enterprise: https://github.com/odoo/enterprise/pull/75382 Steps ----- 1. In eCommerce, enable extra step during checkout; 2. modify extra step form by adding another field;…
Versions -------- - 18.0+ Enterprise: https://github.com/odoo/enterprise/pull/75382 Steps ----- 1. In eCommerce, enable extra step during checkout; 2. modify extra step form by adding another field; 3. save changes; 4. as a public or portal user, add item cart; 5. go to checkout; 6. upload file in extra step; 7. go to payment. Issue ----- Form cannot be submitted due to error. Cause ----- eCommerce uses the `extract_data` method from the `WebsiteForm` controller. Several other modules also have overrides that may get called on checkout via super, but don't use `sudo` to check the `model` name for their module-specific logic, leading to access errors. This isn't always an issue, depending on the order they're called in. If the model name is read once into cache using `sudo`, access rights are no longer checked. Commit 75b385bae0360 added an `extract_data` override to website_hr_recruitment which checks `model.model` before calling `super`, which means the `model.model` value hasn't been cached yet, and an access error is thrown when called as Public User. Solution -------- Add `sudo` to any `model.model` check in `WebsiteForm` overrides to make the `sudo` requirement explicit (and not rely on ORM caching behavior). opw-4376165
Worldline payment processing now better handles transaction references with numbered suffixes and avoids sending invalid empty values to the payment provider. It also includes the customer name in payment data, helping improve transaction records and provider communication.
Original PR description
Fixup of 65b273681db8277493ee399b3addc96fd284e100 Some transactions references are suffixed by a higher number than 0. For instance: _1, _2, ... We now also manage that case. ---------------------------- Avoid sending False to the API --------------------------- Send the customer's name to Worldline
This update brings the spreadsheet component to the latest maintenance version and resolves several issues affecting formatting, sheet deletion, color controls, pivot formatting, figures, and editor layering. Business users should see fewer crashes and more consistent spreadsheet behavior when editing reports or dashboards.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/7cf34a618 [REL] 18.0.8 Task: 0 https://github.com/odoo/o-spreadsheet/commit/5719d7dcc [FIX] cell: keep non-breaking…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/7cf34a618 [REL] 18.0.8 Task: 0 https://github.com/odoo/o-spreadsheet/commit/5719d7dcc [FIX] cell: keep non-breaking spaces Task: 4403607 https://github.com/odoo/o-spreadsheet/commit/f243d86d5 [FIX] sheet view: DELETE_SHEET in initial revisions Task: 4405573 https://github.com/odoo/o-spreadsheet/commit/f024ea533 [FIX] table_style_editor_panel: disable "No Color" button Task: 4102704 https://github.com/odoo/o-spreadsheet/commit/23a005a53 [FIX] data_bar_rule_editor: disable "No Color" button Task: 4102704 https://github.com/odoo/o-spreadsheet/commit/c8af9e9d5 [FIX] SheetPlugin: Fix handling of unbounded zones Task: 4397745 https://github.com/odoo/o-spreadsheet/commit/8a18d36e0 [FIX] pivot: apply format on measure only a basic formula Task: 4377411 https://github.com/odoo/o-spreadsheet/commit/13a79d08b [FIX] figure: crash on deleting dragged figure Task: 4329240 https://github.com/odoo/o-spreadsheet/commit/b6a0772f6 [FIX] composer: topbar composer z-index Task: 4246966 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Odoo now detects when the live communication connection becomes unstable or fails to reconnect, and shows users a small warning in the interface. This helps teams notice connection problems sooner, reducing confusion when real-time features like Discuss stop responding after network or server issues.
Original PR description
Gevent server issues can be difficult to detect as there is no visible hint in the UI to inform the user when something is wrong. This delays the detection of issues even more since symptoms are not easily linked to bus malfunctioning. This PR introduces the `bus_monitoring_service`, a utility designed to detect unstable or lost bus connections. It displays a small warning in the UI to promptly alert users of potential connection problems. A connection is considered lost if it could reconnect after a disconnection. task-4403259 enterprise: https://github.com/odoo/enterprise/pull/75675 <img width="1280" alt="Screenshot 2024-12-12 at 16 52 45" src="https://github.com/user-attachments/assets/959308c0-a7ee-44cf-86e8-c460dbd93b8d" /> <img width="1281" alt="Screenshot 2024-12-12 at 16 52 55" src="https://github.com/user-attachments/assets/18692c36-54b6-4d43-a0c5-d98dd4c66ec7" />
Search suggestions now respond more quickly as users type by cancelling outdated requests and briefly waiting for more complete input. This reduces delays and avoids the impression that no results are available when early, broad searches take too long.
Original PR description
Before this commit, suggestions were fetched sequentially, meaning that adding characters to the search would only take effect after the current RPC call finished. The intent was to provide initial results quickly, as the previous RPC had already started. However, the first suggestion fetch is often based on very few characters, which can take a long time to process. This creates the impression that no item matches the search terms. With more characters, the search becomes much faster. This commit adapts the behavior to cancel the previous fetch instead of waiting for it to finish. It also debounces the fetch to ensure it starts with as many characters as possible.
Products are now correctly filtered by category before being sent to the order receipt printer in Point of Sale. This helps ensure receipts include the intended items for each configured category printer, reducing mistakes in printed orders.
Original PR description
Product wasn't filtered by category before to be printed on the order receipt opw-4320392
The Payment Matching button is now available on payment forms when a payment can still be matched. This fixes a visibility issue caused by a payment status change, helping accounting users complete matching without workarounds.
Original PR description
Before This Commit: - The `Payment Matching` button was invisible in the payment form view, even if the payment was not reconciled. After This Commit: - The `Payment Matching` button will be invisible when the payment is reconciled or not in the state of `In Process` or `Paid.` Reason: - In version 18, the state selection field for payments has changed, and the `posted` state no longer exists. As a result, the condition `state != 'posted'` is always true, so the button is always invisible. Ref - https://github.com/odoo/odoo/commit/01b87f1230beac0568f4e3b1b76e547909506892#diff-143d17de807d23650088a8c12f0a5b5cc2246b1b51e0bb7634e85247b6e535eaR38 Task: 4419369
This fix prevents checkout extra-step forms with file uploads from failing for public or portal visitors. It ensures the website helpdesk form logic checks the related model safely, making checkout completion more reliable when multiple website modules are installed.
Original PR description
Versions -------- - 18.0+ Community: https://github.com/odoo/odoo/pull/190096 Steps ----- 1. In eCommerce, enable extra step during checkout; 2. modify extra step form by adding another field; 3.…
Versions -------- - 18.0+ Community: https://github.com/odoo/odoo/pull/190096 Steps ----- 1. In eCommerce, enable extra step during checkout; 2. modify extra step form by adding another field; 3. save changes; 4. as a public or portal user, add item cart; 5. go to checkout; 6. upload file in extra step; 7. go to payment. Issue ----- Form cannot be submitted due to error. Cause ----- eCommerce uses the `extract_data` method from the `WebsiteForm` controller. Several other modules also have overrides that may get called on checkout via super, but don't use `sudo` to check the `model` name for their module-specific logic, leading to access errors. This isn't always an issue, depending on the order they're called in. If the model name is read once into cache using `sudo`, access rights are no longer checked. Commit [1] combined with commit [2] added an `extract_data` override to website_hr_recruitment which checks `model.model` before calling `super`, which means the `model.model` value hasn't been cached yet, and an access error is thrown when called as Public User. Solution -------- Add `sudo` to any `model.model` check in `WebsiteForm` overrides to make the `sudo` requirement explicit (and not rely on ORM caching behavior). [1]: https://github.com/odoo/odoo/commit/75b385b [2]: https://github.com/odoo/odoo/commit/05f9f43 opw-4376165
Fixes an issue where formatting changes made in Studio reports could disappear in translated versions. Report customizations now keep their own translation entries, reducing the risk that translated reports look outdated after edits.
Original PR description
…nslations Before this commit the inheriting studio view (containing the user's customizations) had its translations updated with its parent's translated terms. This was because in the previous…
…nslations Before this commit the inheriting studio view (containing the user's customizations) had its translations updated with its parent's translated terms. This was because in the previous implementation we copied all the parent's views into the inheriting, which not the case anymore since odoo/enterprise@acdca428d7543530177b7368ca9baddfb340e97c This behavior has become problematic because of how translations work. To illustrate, create a report, put in some text, save. Then, add some style to that text (making it bold for example) The result is that in other language than in the base one, the report looks as if it weren't edited: there is no style, no bold text. This was due to multiple parts of the code: 1. translate.py doesn't take into account tags or style to produce terms, only the text 2. fields.py tries to match an old term with a new term at write time with some kind of similarity threshold 3. When getting a field's translated terms, we cannot know whether those terms come from the an actual translation in DB, or from the base language's default Now that customizations are stored in the form of an inheriting view, with xpaths, we can go back to the standard odoo's behavior for translations: the inheriting view has its own terms, and must be translated individually. This commit is considered the best of two evils: 1. losing terms when editing 2. not modifying translations, even though the semantic structure has changed opw-4389993
Odoo Studio now warns users when the real-time connection becomes unstable while editing reports or views. This helps users understand potential update issues sooner and reduces confusion during customization work.
Original PR description
task-4403259 community: https://github.com/odoo/odoo/pull/190509