Skip to Content
Menu
This question has been flagged
2 Replies
1686 Views

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
Discard

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
Discard
Author 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
Discard
Related Posts Replies Views Activity
4
Aug 25
10804
3
Nov 24
6055
0
Oct 24
903
0
Mar 15
4669
2
Jul 25
1300