-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[IMP] l10n_it_fatturapa_out: errore più verboso nel caso di presenza di caratteri non validi #4390
base: 14.0
Are you sure you want to change the base?
Conversation
I test falliscono a causa del modulo
|
), | ||
error=entry.message, | ||
) | ||
# when there is a char belong to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commenti sono in italiano nel resto del file. Magari facciamo una passata, e li traduciamo tutti.
Notare il commento sotto (282)
@@ -949,7 +949,7 @@ def test_invalid_char_fail(self): | |||
# set invoice line label to https://www.ascii-code.com/character/%E2%90%82 | |||
char_code = 2 | |||
invoice.invoice_line_ids.name = chr(char_code) | |||
invoice._post() | |||
invoice.with_context(edi_test_mode=True)._post() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buono per la 14, ma non per le successive
odoo/odoo@22e04c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok grazie, in realtà non mi è utile nemmeno qui perché non viene propagato fino a questo punto. Alla fine ho dovuto optare per un'altra soluzione: intercettare l'eccezione specifica sollevata da account_edi_ubl_cii
e fare pass
. See the code!
acc7a3c
to
4544204
Compare
In case XMLParser raises an error as ERR_INVALID_CHAR the system will produce a more meaningful and human-readable error showing the line affected in order to more easily identify the invalid char.
4544204
to
644a69c
Compare
Risolve #4389 per
14.0
.