Skip to Content
Menú
This question has been flagged
2 Respostes
1690 Vistes

I am using Odoo saas~17.4+e (Enterprise Edition) to demonstrate the e-Commerce module to a potential client. However, when adding a product to the cart and trying to finalize the purchase (during the checkout process), an unexpected error appears upon entering the page.


What steps will reproduce your issue? After adding the product to the cart, when clicking to proceed to checkout, the error message automatically appears as the page loads.

Link to the error page:

https://top-pecas.odoo.com/shop/address?partner_id=15&address_type=billing


What is the current behavior?

Error:

UncaughtPromiseError > TypeError

Uncaught Promise > Cannot read properties of undefined (reading 'classList')

TypeError: Cannot read properties of undefined (reading 'classList')

at https://top-pecas.odoo.com/web/assets/1/75f738a/web.assets_frontend_lazy.min.js:8168:70

at Array.forEach ()

at Class._onSaveAddress (https://top-pecas.odoo.com/web/assets/1/75f738a/web.assets_frontend_lazy.min.js:8168:23)


What should the expected behavior/result be without the issue?

The purchase should be completed.

Avatar
Descartar

Hello DSI, Unable to reproduce the same error. Kindly share the more information. Thanks.

Best Answer

Were you able to resolve the error? I'm having the same problem.

Avatar
Descartar
Autor Best Answer

I don't have more information about this issue. Just, when i try checkout, in browser console, show this message:

error_service.js:68 TypeError: Cannot set properties of undefined (setting 'required')

    at Class._markRequired (address.js:161:1)

    at address.js:137:1

    at Array.forEach ()

    at Class._changeCountry (address.js:136:1)

handleError @ error_service.js:68

(anonymous) @ error_service.js:123

JS Link: https://top-pecas.odoo.com//website_sale/static/src/js/address.js 

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
d’ag. 25
10807
3
de nov. 24
6062
0
d’oct. 24
904
0
de març 15
4671
2
de jul. 25
1301