Greetings,
Using Odoo 15 Community Edition, updated to latest nightly build on Debian 11.
We have set up the POS application and been using it regularly. A couple of days ago, the following issue arose: attempting to confirm any sale from the payment screen, the following error pops up:
TypeError: utils.getComponent(...).lockedValidateOrder is not a function anonymous/p901.on.click@https://erp.example.com/web/assets/723-668a041/web.assets_common.min.js line 1024 > Function:53:111 invokeHandler@https://erp.example.com/web/assets/723-668a041/web.assets_common.min.js:848:144 handleEvent@https://erp.example.com/web/assets/723-668a041/web.assets_common.min.js:852:105 handler@https://erp.example.com/web/assets/723-668a041/web.assets_common.min.js:854:69
It is impossible to do any sales through the POS. Any ideas how to troubleshoot?
Regards,
Dimitri
Is this error showing after updating Odoo to the latest nightly build? This js has been updated in 19-Apr-2022 to fix traceback when fast click validate. https://github.com/odoo/odoo/pull/89063
Did you upgrade the base module after updating to the latest build?
Try to Activate the developer mode (with assets) and give it a try.
@Waleed Mohsen, the install has been updating daily to the latest nightly build. The issue started on 2022-05-18, so it might be related to that or the previous nightly.
I tried activating developer mode (with assets) from settings and then found the Base module in Apps and upgraded it. Now, while developer mode is active, I can post orders without error. However, if I deactivate developer mode, the same error persists. How can I solve the issue without keeping developer mode active?
Can you try inprivate or incognito browsing?
Also you can clear the browser cache and give it a try?
I tried erasing all site data and cache and also logging in from incognito mode. Unfortunately the problem persists - I can successfully post orders only if developer mode (with assets) is active, otherwise the same error pops up.