You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the latest Odoo update on odoo.sh, while opening the product list preview on the webshop we get the following error:
UncaughtPromiseError
Uncaught Promise > QWeb2 - template['website_sale_stock.product_availability']: Runtime Error: TypeError: dict.formatQuantity is not a function
Error: QWeb2 - template['website_sale_stock.product_availability']: Runtime Error: TypeError: dict.formatQuantity is not a function
exception@https://og-grafika.odoo.com/web/assets/14317-f0c93ee/1/web.assets_frontend_lazy.min.js:5494:7
anonymous@https://og-grafika.odoo.com/web/assets/14317-f0c93ee/1/web.assets_frontend_lazy.min.js line 5535 > Function:84:29
_render@https://og-grafika.odoo.com/web/assets/14317-f0c93ee/1/web.assets_frontend_lazy.min.js:5534:296
render@https://og-grafika.odoo.com/web/assets/14317-f0c93ee/1/web.assets_frontend_lazy.min.js:5534:151
_render_stock/<@https://og-grafika.odoo.com/web/assets/14317-f0c93ee/1/web.assets_frontend_lazy.min.js:9919:84
Module
website_sale_stock_list_preview
Describe the bug
After the latest Odoo update on odoo.sh, while opening the product list preview on the webshop we get the following error:
UncaughtPromiseError
Uncaught Promise > QWeb2 - template['website_sale_stock.product_availability']: Runtime Error: TypeError: dict.formatQuantity is not a function
Revision 16.0.20240506 is working fine.
Seems that changes made with commit:
[FIX] website_sale_stock: website stock quantity formatting
are causing the problem
To Reproduce
Affected versions: 16.0.1.0.0
Steps to reproduce the behavior:
Expected behavior
The stock availability of each product should be displayed on the product list preview.
The text was updated successfully, but these errors were encountered: