diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 264be2b62ea5..b56988d3e2ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,7 +32,9 @@ exclude: |
^l10n_it_fatturapa_out/tests/data|
^l10n_it_fatturapa_in/tests/data|
^l10n_it_fatturapa_out_sp/tests/data|
- ^l10n_it_fatturapa_out_di/tests/data
+ ^l10n_it_fatturapa_out_di/tests/data|
+ ^l10n_it_fatturapa_out_oss/tests/data|
+ ^l10n_it_fatturapa_out_wt/tests/data
default_language_version:
python: python3
node: "16.17.0"
diff --git a/l10n_it_fatturapa_out/data/invoice_it_template.xml b/l10n_it_fatturapa_out/data/invoice_it_template.xml
index 0caae6ce177f..d6a294931314 100644
--- a/l10n_it_fatturapa_out/data/invoice_it_template.xml
+++ b/l10n_it_fatturapa_out/data/invoice_it_template.xml
@@ -633,9 +633,11 @@ e 'line' per riga di fattura (a seconda del livello in cui sono chiamati)
/>
-
+ t-out="record.invoice_payment_term_id.fatturapa_pm_id.code"
+ />
+
TP02
MP05
+ 2018-01-07
2018-02-28
12.20
diff --git a/l10n_it_fatturapa_out/tests/data/IT03297040366_00005.xml b/l10n_it_fatturapa_out/tests/data/IT03297040366_00005.xml
index bbe59936d303..34eedee7290e 100644
--- a/l10n_it_fatturapa_out/tests/data/IT03297040366_00005.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT03297040366_00005.xml
@@ -105,6 +105,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
10.98
diff --git a/l10n_it_fatturapa_out/tests/data/IT03297040366_00019.xml b/l10n_it_fatturapa_out/tests/data/IT03297040366_00019.xml
index 976875d99710..0bb2f9ed1d8b 100644
--- a/l10n_it_fatturapa_out/tests/data/IT03297040366_00019.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT03297040366_00019.xml
@@ -92,6 +92,7 @@
TP02
MP05
+ 2022-03-23
2022-04-30
10.98
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00001.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00001.xml
index d8ef13704094..372801350d75 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00001.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00001.xml
@@ -98,6 +98,7 @@
TP02
MP05
+ 2016-01-07
2016-02-29
17.08
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00002.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00002.xml
index b4ad38d10e7c..d357a3953597 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00002.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00002.xml
@@ -104,6 +104,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
17.08
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00003.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00003.xml
index ad939d528265..149dee04742e 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00003.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00003.xml
@@ -105,6 +105,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
17.08
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00006.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00006.xml
index ff44b7d9a2dc..08d1d25033ba 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00006.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00006.xml
@@ -106,6 +106,7 @@
TP02
MP05
+ 2018-01-07
2018-02-28
17.08
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00008.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00008.xml
index 8aa44170e250..63ef2fea03af 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00008.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00008.xml
@@ -100,6 +100,7 @@
TP02
MP05
+ 2018-01-07
2018-02-28
14.00
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00010.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00010.xml
index bf2f30f8ed06..240dda7157c3 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00010.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00010.xml
@@ -97,6 +97,7 @@
TP02
MP05
+ 2019-08-07
2019-09-30
11.00
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00011.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00011.xml
index fb48619a5293..1b19f077d345 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00011.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00011.xml
@@ -104,6 +104,7 @@
TP02
MP05
+ 2018-01-07
2018-02-28
17.08
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00012.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00012.xml
index 9d1b49c394e7..d08f288b9a5e 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00012.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00012.xml
@@ -90,6 +90,7 @@
TP02
MP05
+ 2020-01-07
2020-02-29
12.20
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00013.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00013.xml
index 86586d758fa1..912f1ed5ff17 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00013.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00013.xml
@@ -94,6 +94,7 @@
TP02
MP05
+ 2020-01-07
2020-02-29
10.00
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00015.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00015.xml
index 07f44f0d129f..fd8f64a58a8d 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00015.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00015.xml
@@ -97,6 +97,7 @@
TP02
MP05
+ 2021-12-16
2022-01-31
11.97
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00015a.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00015a.xml
index 48d841d58ef4..490640568939 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00015a.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00015a.xml
@@ -97,6 +97,7 @@
TP02
MP05
+ 2021-12-16
2022-01-31
14.00
diff --git a/l10n_it_fatturapa_out/tests/data/IT06363391001_00016.xml b/l10n_it_fatturapa_out/tests/data/IT06363391001_00016.xml
index 24c6a05699d2..fd1f41e17ebd 100644
--- a/l10n_it_fatturapa_out/tests/data/IT06363391001_00016.xml
+++ b/l10n_it_fatturapa_out/tests/data/IT06363391001_00016.xml
@@ -84,6 +84,7 @@
TP02
MP05
+ 2021-12-16
2022-01-31
16.10
diff --git a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00001.xml b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00001.xml
index d76aac44c98a..cce3c1c84123 100644
--- a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00001.xml
+++ b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00001.xml
@@ -100,6 +100,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
14.00
diff --git a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00002.xml b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00002.xml
index 962f01376ab4..b051ca129f87 100644
--- a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00002.xml
+++ b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00002.xml
@@ -115,6 +115,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
14.00
diff --git a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00003.xml b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00003.xml
index 73c8811902ce..eedf872f491a 100644
--- a/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00003.xml
+++ b/l10n_it_fatturapa_out_di/tests/data/IT06363391001_00003.xml
@@ -120,6 +120,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
14.00
diff --git a/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00001.xml b/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00001.xml
index e5963c924d91..c6cd044b29d2 100644
--- a/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00001.xml
+++ b/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00001.xml
@@ -98,6 +98,7 @@
TP02
MP05
+ 2022-02-28
2022-03-31
16.80
diff --git a/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00002.xml b/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00002.xml
index eeff49816f5d..08ffeae199fb 100644
--- a/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00002.xml
+++ b/l10n_it_fatturapa_out_oss/tests/data/IT06363391001_00002.xml
@@ -90,6 +90,7 @@
TP02
MP05
+ 2023-02-28
2023-03-31
17.08
diff --git a/l10n_it_fatturapa_out_sp/tests/data/IT06363391001_00004.xml b/l10n_it_fatturapa_out_sp/tests/data/IT06363391001_00004.xml
index c8394fdf4fe2..dfc2f906c82d 100644
--- a/l10n_it_fatturapa_out_sp/tests/data/IT06363391001_00004.xml
+++ b/l10n_it_fatturapa_out_sp/tests/data/IT06363391001_00004.xml
@@ -98,6 +98,7 @@
TP02
MP05
+ 2016-06-15
2016-07-31
14.00
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00011.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00011.xml
index 3fd495be61f7..c6c5a2396650 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00011.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00011.xml
@@ -98,6 +98,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
10.20
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00014.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00014.xml
index 98e59404a04c..b5f4bd7c4a9e 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00014.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00014.xml
@@ -104,6 +104,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
9.37
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00015.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00015.xml
index 10540db330ee..f0d6fce4390c 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00015.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00015.xml
@@ -119,6 +119,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
9.37
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00016.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00016.xml
index b681bab41589..1ba06c36d5a5 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00016.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00016.xml
@@ -115,6 +115,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
7.17
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00017.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00017.xml
index a3636b24fd27..55dc492a6413 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00017.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00017.xml
@@ -104,6 +104,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
9.67
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00018.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00018.xml
index 331939245ad7..9cd0b4f842dd 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00018.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00018.xml
@@ -119,6 +119,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
9.67
diff --git a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00019.xml b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00019.xml
index 8d22b577a6d9..8dfab73ea143 100644
--- a/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00019.xml
+++ b/l10n_it_fatturapa_out_wt/tests/data/IT06363391001_00019.xml
@@ -115,6 +115,7 @@
TP02
MP05
+ 2019-01-07
2019-02-28
7.47