Wednesday, March 27, 2024
4 changes · saas-17.1
Resolved issues and error corrections
This fix prevents the City and District dropdowns from appearing empty during checkout unless the selected country is Peru. It improves the checkout experience for shoppers on Peruvian websites by showing only relevant address fields.
Original PR description
### Steps to reproduce: - Install **l10n_pe_website_sale** module. - Switch to **PE Company**. - While Enabling the debug mode, Go to **Website** > **Configuration** > **Websites** and add a new website for the **PE Company**. - Go to **Website** > **Shop**, Switch to the new website and add a product to the cart. - Checkout the cart. - In the address section, Notice how both **City** and **District** select boxes are visible and empty! Both should only be visible when the selected Country is Peru (PE) ### Investigation: - 9f957eff4060c8680d73d608a176c0646d9aeb9b moved the method `_onChangeCountry` to another file and hence override of it wasn't in effect opw-3793838
This update prevents errors in the restaurant point-of-sale screen when the system is idle or when users click certain selected product categories. It improves reliability for staff during ordering and helps avoid interruptions at checkout.
Original PR description
Previously, being idle in POS restaurant could cause an error. This was due to setSelectedCategory being set to 0 without a category selected. Also, clicking a selected category with a parent led to an error. This commit fixes these issues. opw-3824557 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The sales subscription dashboards now avoid showing errors when demo data is not installed. Empty dashboard sections are left blank instead, making the dashboards usable in clean or production-like databases.
Original PR description
Before this fix, errors occurred in certain sections of the sales subscription dashboard when attempting to load it without demo data. This PR resolves the problem by incorporating IFERROR into the formulas to leave them empty in case of errors. Task ID: 3754211
This update corrects a bug that caused the system to repeatedly recalculate expense product costs, which could lead to inaccurate accounting records. The fix ensures that expense costs are only calculated when necessary, improving data accuracy and reducing potential discrepancies in financial reporting. This change improves the reliability of expense tracking.
Original PR description
Fix a bug introduced by 67901a4429c69fbba96c32af5d8f58aff54f0be5 When an expense is submitted and for the steps after, there is no need to recompute the product_cost as it may be confusing or generate discrepancies with the account move by changing the totals. task-3580004 Forward-Port-Of: odoo/odoo#155277 Forward-Port-Of: odoo/odoo#141400