diff --git a/l10n_it_fatturapa_in/README.rst b/l10n_it_fatturapa_in/README.rst index 08bdabc8b4a0..ae20a2f5df03 100644 --- a/l10n_it_fatturapa_in/README.rst +++ b/l10n_it_fatturapa_in/README.rst @@ -173,6 +173,7 @@ Contributors * Alessio Gerace * Sergio Zanchetta * Giovanni Serra +* Gianmarco Conte Maintainers ~~~~~~~~~~~ diff --git a/l10n_it_fatturapa_in/readme/CONTRIBUTORS.rst b/l10n_it_fatturapa_in/readme/CONTRIBUTORS.rst index 1721984a8682..1a84bfecc996 100644 --- a/l10n_it_fatturapa_in/readme/CONTRIBUTORS.rst +++ b/l10n_it_fatturapa_in/readme/CONTRIBUTORS.rst @@ -3,3 +3,4 @@ * Alessio Gerace * Sergio Zanchetta * Giovanni Serra +* Gianmarco Conte diff --git a/l10n_it_fatturapa_in/static/description/index.html b/l10n_it_fatturapa_in/static/description/index.html index 108057160c5a..2b75910494fd 100644 --- a/l10n_it_fatturapa_in/static/description/index.html +++ b/l10n_it_fatturapa_in/static/description/index.html @@ -496,6 +496,7 @@

Contributors

  • Alessio Gerace
  • Sergio Zanchetta <https://github.com/primes2h>
  • Giovanni Serra <giovanni@gslab.it>
  • +
  • Gianmarco Conte <gconte@dinamicheaziendali.it>
  • diff --git a/l10n_it_fatturapa_in/tests/data/ITBNCMRA80A01D548T_20005.xml b/l10n_it_fatturapa_in/tests/data/ITBNCMRA80A01D548T_20005.xml new file mode 100644 index 000000000000..d5a229dab4f5 --- /dev/null +++ b/l10n_it_fatturapa_in/tests/data/ITBNCMRA80A01D548T_20005.xml @@ -0,0 +1,132 @@ + + + + + + + IT + 01484710387 + + 00005 + FPR12 + 0000000 + + 05543534343 + info@yourcompany.example.com + + ufficio@pec.bizz.it + + + + + + IT + 01484710387 + + + Mario + Bianchi + Avvocato + + RF01 + + + Via Voltapaletto 12 + 44121 + Ferrara + FE + IT + + + + + + 04006460275 + + BIZZ SRL + + + + VIA TORINO 135 + 30100 + Venezia + VE + IT + + + + + + + + + + + TD01 + EUR + 2020-10-25 + 001 + + + RT01 + 23.00 + 20.00 + A + + + + TC01 + 4.00 + 4.60 + 115.00 + 22.00 + + + 122.91 + + + + + + + 1 + Competenze + 100.00 + 100.00 + 22.00 + SI + + + + 2 + Spese generali ( 15% ) + 15.00 + 15.00 + 22.00 + SI + + + + 22.00 + 119.60 + 26.31 + I + + + + + + TP02 + + MP05 + 2020-09-30 + 122.91 + FINECO BANK + IT37F0301503200000005796511 + UNCRITMMXXX + + + + + + diff --git a/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py b/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py index 54c72095b124..42202e313bc1 100644 --- a/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py +++ b/l10n_it_fatturapa_in/tests/test_import_fatturapa_xml.py @@ -658,6 +658,12 @@ def test_43_xml_import_withholding(self): self.assertTrue(len(invoice.ftpa_withholding_ids), 1) self.assertTrue(len(invoice.invoice_line_ids) == 3) + def test_44_xml_import(self): + res = self.run_wizard('test44', 'ITBNCMRA80A01D548T_20005.xml') + invoice_id = res.get('domain')[0][2][0] + invoice = self.invoice_model.browse(invoice_id) + self.assertTrue(len(invoice.invoice_line_ids) == 3) + def test_01_xml_link(self): """ E-invoice lines are created.