Greetings,
We've set up Odoo 15 Community edition with POS module.
We've tested opening and closing several POS sessions successfully before.
Currently we have a session that has been left open for several weeks and we are unable to close it. We can connect to the session and make new orders, however clicking the "Close" button has no effect.
The following error is dumped to the browser console:
TypeError: scope.canCancel is not a function
anonymous https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js line 1026 > Function:397
fn https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1008
render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1015
__render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1344
__prepareAndRender https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1342
__prepare https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1333
anonymous https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js line 1026 > Function:366
render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1015
renderFn https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1364
__render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1344
render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1308
promise callback*render https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1307
set https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:773
__showPopup https://erp.ourdomain.com/web/assets/123-66b2263/point_of_sale.assets.min.js:631
__trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1323
__trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1475
__trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1410
_handlerTunnel https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1398
__trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1323
__trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1475
trigger https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:1312
showPopup https://erp.ourdomain.com/web/assets/123-66b2263/point_of_sale.assets.min.js:324
showPopup https://erp.ourdomain.com/web/assets/123-66b2263/point_of_sale.assets.min.js:324
onClick https://erp.ourdomain.com/web/assets/123-66b2263/point_of_sale.assets.min.js:1210
click__311__ https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js line 1026 > Function:12
invokeHandler https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:848
handleEvent https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:852
handler https://erp.ourdomain.com/web/assets/135-f2461d3/web.assets_common.min.js:854
point_of_sale.assets.min.js:646:27