Commit 9eb151d
committed
[IMP] l10n_es_aeat_sii_oca: Replace line feeds by spaces in SII description
Although the field is now a single-line string, Odoo encodes line feeds
as `\n` when computing the SII description from the invoice lines, so
when sending that to the AEAT, they are not kept as is in the end.
On that cases, doing the SII match contrast, they will say there's no
exact match due to that.
Let's replace the line feeds by spaces in advance to avoid this problem.1 parent 96a5c5c commit 9eb151d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
| 675 | + | |
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
| |||
0 commit comments