Monday, October 16, 2023
5 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
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 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
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