Monday, March 11, 2019
2 changes · master
Resolved issues and error corrections
Consumable products can no longer show or keep lot/serial tracking and related date settings, which were not appropriate for that product type. When a product is changed to consumable, tracking is reset to avoid incorrect inventory behavior and cleaner product configuration.
Original PR description
Before this commit, you can configure tracking for consumable type product. Now, tracking and date settings are hidden when the product's type is set on consumable. Also, resets tracking when change type on consumable. Task #1938594
This update fixes issues that could prevent mobile menu items from appearing correctly and could cause mobile app requests to fail. It improves reliability for users navigating Odoo on mobile devices, especially around company switching and native app communication.
Original PR description
[FIX] web_enterprise: start function don't return the correct promise In start function, initAutoMoreMenu Promise was not expected so the mobile menu wasn't appended in the burger menu.…
[FIX] web_enterprise: start function don't return the correct promise In start function, initAutoMoreMenu Promise was not expected so the mobile menu wasn't appended in the burger menu. Co-authored-by: Vincent Schippefilt vsc@odoo.com ====== [FIX] web_enterprise: SwitchCompanyMenu not include by default anymore In commit odoo/odoo@ab56e63 file /addons/web/static/src/js/widgets/switch_company_menu.js Line 78 If session.user_companies is set the menu will be added in the SystrayMenu Commit has a side effect in mobile it deletes always a menu from Systray After this fix, in mobile, if there is no SwitchCompanyMenu in Systray no menu is deleted anymore. Link to line : https://github.com/odoo/odoo/blob/ab56e637b7f97ddcdbcc9baea99ae097e342409c/addons/web/static/src/js/widgets/switch_company_menu.js#L78 Co-authored-by: Vincent Schippefilt vsc@odoo.com ====== [FIX] web_mobile: native_invoke undefined id In commit 1899b2a file web_mobile/static/src/js/rpc.js Line 27 the unique id was generated in Promise and not accessible outside, so an error was triggered. https://github.com/odoo/enterprise/blob/1899b2a738902f95ac39c4267f166c4ef88e14d9/web_mobile/static/src/js/rpc.js#L27