Thursday, November 16, 2023
6 changes · 17.0
Resolved issues and error corrections
The test tooling was corrected so server-side form tests save records in the same way as the Odoo web client. This helps prevent tests from passing in situations where real users might experience different behavior, improving confidence in future changes.
Spanish point-of-sale orders under the legal invoicing threshold can now be validated without an invoice when the invoice option is turned off. This prevents an unnecessary customer selection popup and keeps checkout aligned with the cashier's choice.
Original PR description
Steps to reproduce: 1. Open a pos configured with a spanish localization; 2. Make an order that is less then 400 euros; 3. Click on invoice; 4. Click on invoice again such that it is toggled off. 5. Observe that validating the order brings the popup to select a partner The issue is that toggling the invoice off doesn't actually work correctly. Task: 3597292 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now insert an Odoo chart from a different app into a spreadsheet that already has a filtered list or pivot without triggering an error. The fix ensures the spreadsheet only checks charts that already exist, improving reliability when combining data from multiple apps.
Original PR description
Steps to reproduce: - Insert a list/pivot in a blank spreadsheet from a module (say Sales). - Apply a global filter on it. - Insert an odoo chart in the same sheet but from a different module (eg. CRM) The issue is that when there are no charts in the sheet, the existing code of `getOdooChartIds` retrieves the incorrect chart ids (`getChartIds` getter returns all chart ids, including the id of chart being inserted). This leads to a traceback as the code tries to fetch fieldMatchings for a non-existent chart within the sheet. This PR resolves the issue by modifying the `getOdooChartIds` method to now utilize `this.charts` instead of `getChartIds` getter, which correctly provides the ids of charts already present in the sheet. Task ID: 3573402 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Project app now prevents users from choosing parent tasks from projects where subtasks are not allowed. This keeps task organization aligned with each project's settings and avoids inconsistent subtask creation.
Original PR description
Steps: - project > configuration > settings > Enable Allow sub-tasks. - try to add subtasks by searching project name it will show tasks of projects whose subtask is false. Issue: - able to select a task from projects whose allow sub-tasks feature is disable. Cause: - There no domain to restrict user from selecting non allow sub tasks feature. Fix: - Add domain to restrict user from selecting non allow sub tasks feature. task-3178619 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
When creating a new helpdesk ticket, the breadcrumb navigation was incorrectly displaying "False(#False)" instead of "New". This fix corrects the breadcrumb display by properly returning the parent method, ensuring users see the correct navigation label when creating new tickets.
Original PR description
Steps: - Install helpdesk - Open helpdesk - Go to my tickets - Create new ticket Issue: - when create new ticket breadcrumb shows "False(#False)" instead of "New". Cause: - Not returning the super method. Fix: - Create new field filtered with name running loop on that field and returning the super method. task-3478920
A bug in the Knowledge editor's /article command has been fixed. Previously, when users opened the article selection menu, both articles and templates were displayed together. This update ensures that only articles appear in the selection menu, with templates properly filtered out, providing a cleaner and more intuitive user experience.
Original PR description
When merging the models `knowledge.article` and `knowledge.article.template`, we unintentionally forgot to add a condition in the search domain of the select menu to filter out the templates from the search results. As a result, the select menu currently lists both articles and templates. This commit will simply add the missing condition in the search domain to exclude the templates from the search results. Steps to reproduce the issue: 1. Open the Knowledge editor 2. Type the /article command 3. Click on the selection menu => The select menu lists the articles and the templates. TO BE: The selection menu should only display the articles and not the templates Reference: https://github.com/odoo/enterprise/pull/48691 task-3593373