Monday, October 16, 2023
14 changes · master
Resolved issues and error corrections
Users can now move personal tasks between stages by dragging and dropping them in My Tasks. This fixes an error that prevented the stage change from being saved, improving day-to-day task management reliability.
Original PR description
**Steps to reproduce:** --- - Project -> Tasks -> My Tasks - try changing task stage by dragging and dropping task to another stage. **Issue:** --- The expected behavior was to change the stage when changing task stage by dragging and dropping to another stage. but The stage is not being changed. **Cause:** --- The for loop inside function `_preprocessX2manyChanges` was expecting an Array from the `value` but It wasn't getting an Array. The reason was the `_update` function in the project. Where one edge case was missing. and it was producing traceback. **Fix:** --- The condition for handling the edge case is added. It will check whether the `value` is an Array. **PPR Note**-i think this commit effected- https://github.com/odoo/odoo/commit/4bf77b9ef18f49e409af904334f4dfab88db3cf0 task:3519453
Live chat conversations now show the configured live chat user name instead of the agent's real account name. This keeps customer-facing chats consistent with the intended display identity and avoids exposing internal names.
Original PR description
Before this commit, the real user name was shown instead of the live chat user name. This PR corrects this behavior.
Portal users editing shared project tasks will no longer see image, video, or file insertion options that they cannot use. This avoids confusing access error messages and keeps the editing experience focused on actions available to them.
Original PR description
Steps: - Install project. - Create a project and it's task. - Share this project to portal user with editable rights. - Open that project from portal user. - In task description, using `/image`, add one image. Issue: - There comes an Access error: Sorry, you are not allowed to access this document. Solution: - We are passing `'allowCommandImage': false, 'allowCommandVideo': false, 'allowCommandFile': false}` so that portal user can't have the /image and related options. task-3463461
This fixes an issue where reducing a sales or purchase order after a partial delivery or receipt without a backorder could incorrectly create an extra return or delivery for the remaining quantity. Businesses get more accurate inventory flows and avoid unnecessary warehouse operations.
Original PR description
Case: - create an SO for 3 units of product A - validate and open the delivery picking - put 2 in quantity done, validate - do NOT create a backorder - return on the SO, put 2 in ordered quantity field - save Issue: a return picking is create for the 1 unit that was removed from the SO Before, product_uom_qty was changed on stock move at validation to match quantity_done. Now it stays the same so another value has to be used in _get_qty_procurement for 'done' stock moves. This fix ensures that the correct quantity is used depending on the state of the stock move. With that, the float_compare in _action_launch_stock_rule will correctly redirect to continue if necessary. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects a small wording issue in the HR settings by changing an awkward label related to “working.” It improves clarity for users configuring HR options without changing any functionality.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes the file path used to load the TikTok icon font in the web interface. The correction helps ensure the icon displays properly instead of failing to load due to an incorrect location.
Original PR description
This updates the relative url of the 'woff' font that was one parent too far. Bug introduced in [1] [1] : https://github.com/odoo/odoo/commit/47c5a092196054359d82edbc79dea0caf213dd9f task-3477965
This fixes cases where Point of Sale demo or onboarding data could not be loaded after deleting the default setup or archiving previously loaded products. Businesses setting up or reconfiguring POS and restaurant POS can now restart onboarding more reliably without manual cleanup.
Original PR description
In this commit 2 issues are fixed. The first issue is when trying to load demo data when the default pos configs are deleted. The second is when trying to reload onboarding data when the products are…
In this commit 2 issues are fixed. The first issue is when trying to load demo data when the default pos configs are deleted. The second is when trying to reload onboarding data when the products are already loaded but archived (task-3539455). steps to reproduce the first issue: - load db without demo data - delete pos created by default - create a new pos config - open and try to load demo data steps to reproduce the second issue: - load db without demo data - open pos and load demo data - archive products - open pos and try to load demo data changes: - main pos config demo data has been separated from onboarding data. - condition has been added in the search count of _pos_has_valid_product method to check for archived products. Enterprise PR: https://github.com/odoo/enterprise/pull/48621 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 fixes a live chat issue that could trigger server errors when a visitor's chat session became outdated after logging in and out. Users should now be able to reload website pages with live chat more reliably, avoiding disruptive errors in that flow.
Original PR description
This PR fixes two issues: - Incorrect write on `channel_member_ids` (trying to link guest instead of channel member) - Incorrect condition in `livechatService.leaveSession` that relies on the live chat to be initialized while it can acutally be called before if the current session is outdated. This could result in server errors in the following scenario: - Open a live chat - Log in - Open a live chat from the website app - Log out
This update corrects layout problems in the Studio home menu after recent menu structure changes. It helps keep the interface usable and visually consistent for users working in Odoo Studio.
Original PR description
Commit[1] introduced some changes to the studio home menu to fix some layout and usability. These changes were applied on Master via a forward-port, but since the structure of the home studio menu changed, we need to modify a bit the way the layout and the classes applied to the elements. Commit[1]: 92bbabd92d320af639c18348e15f5999429e4822 task-3536769
The depreciation schedule report now displays its table shading correctly, removing unwanted gray squares while keeping alternating column backgrounds for readability. The table header styling has also been restored, making the report easier to review and consistent with earlier versions.
Original PR description
In the depreciation schedule report, multiple gray squares appear as a background color in multiple cells. This commit solves the issue and restore the gray background color for one column out of two to have a better visualization. The header of the table is also fixed as a class was missing. The SCSS code was therefore useless. The result is now similar to what was rendered in odoo 15. task: 3226777
Restaurant preparation display demo data can now be loaded after the default point of sale setup is removed or when previously loaded products were archived. This helps users complete onboarding reliably when setting up or retrying restaurant point of sale configurations.
Original PR description
In this commit 2 issues are fixed. The first issue is when trying to load demo data when the default pos configs are deleted. The second is when trying to reload onboarding data when the products are already loaded but archived. steps to reproduce the first issue: - load db without demo data - delete pos created by default - create a new pos config - open and try to load demo data steps to reproduce the second issue: - load db without demo data - open pos and load demo data - archive products - open pos and try to load demo data changes: - adapt pos_restaurant_preparation_display to the separation of demo data introduced in the community branch. Community PR: https://github.com/odoo/odoo/pull/138035
This update corrects how the Documents Spreadsheet tests simulate browser information. It helps prevent test failures and reduces the risk of spreadsheet-related features behaving incorrectly when browser details are checked.
Original PR description
This commit fixes the patch made to the browser object. Before this commit, the navigator property only has the clipboard property defined, which could cause other issues, with the code using the browser.navigator object to define some properties. It is part of the task-3275275, when the feature detection is made using browser.navigator.userAgent. A test would fail without this fix.
Fixed display issues in the main Odoo home menu and Studio home menu so app icons and edit controls appear in the right place. This improves usability and keeps automated checks aligned with the updated layout.
A test tour selector was updated after an underlying interface markup change moved the kanban view icon inside the button. This keeps the helpdesk knowledge workflow validation reliable without changing customer-facing behavior.
Original PR description
Beforer this commit, the `button.o_switch_view.oi-view-kanban` no longer finds the button because of a changes done in community version. That is, the `oi-view-kanban` class has been moved into a new `i` tag displayed inside that button. This commit changes the selector to correcly select the button expected, that is, the kanban button in views switcher to display the kanban view. task-3376776