En una base Odoo 18.2 SaaS, al tener activa la localización fiscal de Chile, el Punto de Venta (POS) presenta un error crítico al momento de finalizar una venta.
El problema ocurre después de ingresar el pago y presionar el botón "Validar": la pantalla que normalmente debería mostrar la validación del pedido y permitir continuar con la siguiente venta no se carga. El sistema queda congelado o en estado de carga, impidiendo cerrar la transacción y continuar operando.
Este comportamiento no ocurre cuando la localización fiscal está desactivada, lo que indica un conflicto entre el módulo de localización chilena y el proceso de validación de ventas en el POS.
In an Odoo 18.2 SaaS instance, when the Chilean fiscal localization is activated, the Point of Sale (POS) module encounters a critical issue during the payment process.
The problem occurs after entering the payment and clicking the "Validate" button: the screen that should confirm the order and allow the user to proceed to the next sale does not load. Instead, the system freezes or remains stuck in a loading state, preventing the transaction from being completed.
This issue does not occur when the Chilean localization is deactivated, indicating a conflict between the fiscal localization module and the POS order validation process.
Muestro pantallas a continuación / Screenshots are shown below
Al revisar el inspector de Chrome aparece las siguientes excepciones / When checking the Chrome developer console, the following exceptions appear
point_of_sale.assets_prod.min.js:9399 IndexedDB 1 Ready
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
image:1
Failed to load resource: the server responded with a status of 502 ()
point_of_sale.assets_prod.min.js:769 [Owl] Unhandled error. Destroying the root component
handleError @ point_of_sale.assets_prod.min.js:769
point_of_sale.assets_prod.min.js:771 Uncaught OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (point_of_sale.assets_prod.min.js:767:101)
at App.handleError (point_of_sale.assets_prod.min.js:1414:29)
at RootFiber.complete (point_of_sale.assets_prod.min.js:799:28)
at Scheduler.processFiber (point_of_sale.assets_prod.min.js:1384:43)
at Scheduler.processTasks (point_of_sale.assets_prod.min.js:1378:62)
at point_of_sale.assets_prod.min.js:1375:67Caused by: TypeError: this.child.mount is not a function
at VToggler.mount (point_of_sale.assets_prod.min.js:523:57)
at B.mount (point_of_sale.assets_prod.min.js:683:269)
at VMulti.mount (point_of_sale.assets_prod.min.js:592:164)
at VMulti.mount (point_of_sale.assets_prod.min.js:592:164)
at B.mount (point_of_sale.assets_prod.min.js:683:269)
at ComponentNode.mount (point_of_sale.assets_prod.min.js:887:69)
at B.mount (point_of_sale.assets_prod.min.js:683:269)
at ComponentNode.mount (point_of_sale.assets_prod.min.js:887:69)
at VToggler.patch (point_of_sale.assets_prod.min.js:528:13)
at B.patch (point_of_sale.assets_prod.min.js:687:178)
point_of_sale.assets_prod.min.js:5898 OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
Error: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:767:101)
at App.handleError (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:1414:29)
at RootFiber.complete (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:799:28)
at Scheduler.processFiber (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:1384:43)
at Scheduler.processTasks (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:1378:62)
at https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:1375:67
Caused by: TypeError: this.child.mount is not a function
at VToggler.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:523:57)
at B.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:683:269)
at VMulti.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:592:164)
at VMulti.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:592:164)
at B.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:683:269)
at ComponentNode.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:887:69)
at B.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:683:269)
at ComponentNode.mount (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:887:69)
at VToggler.patch (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:528:13)
at B.patch (https://76981355-saas-18-2-all.runbot234.odoo.com/web/assets/7210cdd/point_of_sale.assets_prod.min.js:687:178)
handleError @ point_of_sale.assets_prod.min.js:5898