Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
1688 Prikazi

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
Opusti

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
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
avg. 25
10804
3
nov. 24
6060
0
okt. 24
904
0
mar. 15
4670
2
jul. 25
1301