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

l10n_it_fatturapa_out: errore più verboso nel caso di presenza di caratteri non validi #4389

Open
2 tasks
tafaRU opened this issue Oct 1, 2024 · 0 comments · May be fixed by #4390
Open
2 tasks

l10n_it_fatturapa_out: errore più verboso nel caso di presenza di caratteri non validi #4389

tafaRU opened this issue Oct 1, 2024 · 0 comments · May be fixed by #4390

Comments

@tafaRU
Copy link
Member

tafaRU commented Oct 1, 2024

Is your feature request related to a problem?
No.

Describe the solution you'd like
Nel caso di presenza nella fattura elettronica di caratteri non validi come ad esempio uno tra https://en.wikipedia.org/wiki/List_of_Unicode_characters#Control_codes evitare che Odoo fallisca riportando miseramente il Traceback dell'errore ma piuttosto informare l'utente con un errore più verboso.

Describe alternatives you've considered
Intercettare l'errore ERR_INVALID_CHAR sollevato dal modulo lxml.etree e restituire all'utente un errore più verboso che gli consenta di individuare la riga problematica e correggerla.

Implementazioni:

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