our odoo 14 community edition POS is not letting us to the payment screen. We only use it every few days during our slow season, it worked fine last Wednesday, but last friday one of our users couldn't close out an order and session. it appeared to be a issue with web assets so i rebuilt them and rebooted the server, the session closed and i thought everything was fine.
Today another user tries to enter a simple order and we can't enter payments. We get the following errors in the js console:
point_of_sale.assets.js:625 Error: QWeb error: Invalid loop expression
at QWeb.eval (eval at _compile (web.assets_common.js:971), :133:24)
at QWeb.fn (web.assets_common.js:953)
at QWeb.render (web.assets_common.js:960)
at PaymentScreen.__render (web.assets_common.js:1277)
at PaymentScreen.__prepareAndRender (web.assets_common.js:1275)
catchError @ point_of_sale.assets.js:625
point_of_sale.assets.js:625 Error: QWeb error: Invalid loop expression
at QWeb.eval (eval at _compile (web.assets_common.js:971), :133:24)
at QWeb.render (web.assets_common.js:960)
at PaymentScreen.__render (web.assets_common.js:1277)
at web.assets_common.js:1241
catchError @ point_of_sale.assets.js:625
point_of_sale.assets.js:625 Error: QWeb error: Invalid loop expression
at QWeb.eval (eval at _compile (web.assets_common.js:971), :133:24)
at QWeb.render (web.assets_common.js:960)
at PaymentScreen.__render (web.assets_common.js:1277)
at PaymentScreen.__updateProps (web.assets_common.js:1262)
I ran the pos JS tests and the following came up
unit tests for ProductScreen components: Orderline (2, 0, 2)
Source:
TypeError: Cannot set property 'tracking' of undefined
at Object. (https:///point_of_sale/static/tests/unit/test_ProductScreen.js:516:25)
)
Expected 10 assertions, but 1 were run@ 6 ms
Source:
at https:///point_of_sale/static/tests/unit/test_ProductScreen.js:481:11
at https:///web/static/src/js/boot.js:260:43
at new Promise ()
at processJob (https:///web/static/src/js/boot.js:258:23)
at Object.odoo.processJobs (https:///web/static/src/js/boot.js:316:13)
at https:///web/static/src/js/boot.js:271:34
I have no code addons or anything installed in pos, just community version running in docker. I did update to the June 9th, version from docker hub, but that did not change anything.
Just want to add everything works fine if i enable developer mode with assets. it still errors out if it is just developer mode. So any thoughts on how i can fix this i would really appreciate it.