Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fiscal_epos_print: Incasso su cliente errore stampa #4586

Open
GiuTav opened this issue Jan 30, 2025 · 0 comments
Open

fiscal_epos_print: Incasso su cliente errore stampa #4586

GiuTav opened this issue Jan 30, 2025 · 0 comments
Labels

Comments

@GiuTav
Copy link

GiuTav commented Jan 30, 2025

Module

fiscal_epos_print

Describe the bug

Il Bug riscontrato avviene quando si registra un pagamento su un cliente e si preme il tasto valida
errore:
TypeError: Cannot read properties of null (reading 'substr')
at Class.printFiscalRefundDetails (http://localhost:8082/web/assets/928-1a2d4af/point_of_sale.assets.min.js:6052:18)
at Class.printFiscalReceipt (http://localhost:8082/web/assets/928-1a2d4af/point_of_sale.assets.min.js:6121:291)
at PaymentScreen.sendToFP90Printer (http://localhost:8082/web/assets/928-1a2d4af/point_of_sale.assets.min.js:6217:172)
at PaymentScreen._finalizeValidation (http://localhost:8082/web/assets/928-1a2d4af/point_of_sale.assets.min.js:6218:75)
at PaymentScreen.validateOrder (http://localhost:8082/web/assets/928-1a2d4af/point_of_sale.assets.min.js:1211:12)

In pratica il modulo non riesce a scindere che non è presente un prodotto nella sessione pos e quindi prova a stampare lo scontrino ma non riesce a generare l'xml.

To Reproduce

Affected versions: 16.0
Allego il video che mostra come replicare l'errore.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant