summaryrefslogtreecommitdiff
path: root/addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m
diff options
context:
space:
mode:
authorPaolo (pgi) <pgi@odoo.com>2021-05-21 11:00:53 +0000
committerPaolo (pgi) <pgi@odoo.com>2021-05-21 11:19:18 +0000
commited723be917637320fc4d2787bdf505e4a7a8216d (patch)
tree2b6e4dfccd323c3623898800de69cb3d977a2fb5 /addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m
parent0c4111850ac2bf54c71e9da04fac5b0c651021cd (diff)
[FIX] l10n_it_edi: Vendor bill is not being created from PEC
When one or more vendor bills in Italian e-invoice format were sent to the registered PEC mailbox, if they are in the PKCS#7 format ('.xml.p7m'), nothing happened. The e-invoice content should be automatically decoded and the invoice should be created as soon as the xml file is fetched from the PEC mailbox. A new remove_signature function has been added in a tools/remove_signature.py file to handle this case. The OpenSSL and pyOpenSSL libraries must be installed. They are not in requirements.txt but they're probably available. New tests has been provided for the signed email reading method. opw-2460485 closes odoo/odoo#71138 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m')
-rw-r--r--addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7mbin0 -> 7083 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m b/addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m
new file mode 100644
index 00000000000..ecb48417c5a
--- /dev/null
+++ b/addons/l10n_it_edi/tests/expected_xmls/IT01234567890_FPR01.xml.p7m
Binary files differ