Skip to Content
Menu
This question has been flagged
2 Replies
1684 Zobrazenia

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
Zrušiť

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
aug 25
10801
3
nov 24
6053
0
okt 24
900
0
mar 15
4667
2
júl 25
1300