Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1694 Vistas

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.

Mejor respuesta

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

Avatar
Descartar
Autor Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
4
ago 25
10809
3
nov 24
6071
0
oct 24
909
0
mar 15
4672
2
jul 25
1302