Skip to content

Instantly share code, notes, and snippets.

@eLBati
Created June 13, 2019 13:47
Show Gist options
  • Save eLBati/50aa9bf3a24b2e6b1185002559669e43 to your computer and use it in GitHub Desktop.
Save eLBati/50aa9bf3a24b2e6b1185002559669e43 to your computer and use it in GitHub Desktop.
diff --git a/l10n_it_invoices_data_communication/models/communication.py b/l10n_it_invoices_data_communication/models/communication.py
index 80234a04..d4746623 100644
--- a/l10n_it_invoices_data_communication/models/communication.py
+++ b/l10n_it_invoices_data_communication/models/communication.py
@@ -118,8 +118,7 @@ class ComunicazioneDatiIva(models.Model):
"2.1.2.1 <Denominazione>")
cedente_sede_Indirizzo = fields.Char(
string='Headquarters address', size=60)
- cedente_sede_NumeroCivico = fields.Char(
- string='Street number', size=8)
+ cedente_sede_NumeroCivico = fields.Char(size=8)
cedente_sede_Cap = fields.Char(
string='ZIP', size=5)
cedente_sede_Comune = fields.Char(
@@ -131,8 +130,7 @@ class ComunicazioneDatiIva(models.Model):
help="Country code, expressed using the 3166-1 alpha-2 standard")
cedente_so_Indirizzo = fields.Char(
string='Permanent establishment address', size=60)
- cedente_so_NumeroCivico = fields.Char(
- string='Street number', size=8)
+ cedente_so_NumeroCivico = fields.Char(size=8)
cedente_so_Cap = fields.Char(
string='ZIP', size=5)
cedente_so_Comune = fields.Char(
@@ -2318,8 +2316,7 @@ class ComunicazioneDatiIvaFattureRicevute(models.Model):
"3.2.2.1 <Denominazione>")
cedente_sede_Indirizzo = fields.Char(
string='Headquarters address', size=60)
- cedente_sede_NumeroCivico = fields.Char(
- string='Street number', size=8)
+ cedente_sede_NumeroCivico = fields.Char(size=8)
cedente_sede_Cap = fields.Char(
string='ZIP', size=5)
cedente_sede_Comune = fields.Char(
@@ -2331,8 +2328,7 @@ class ComunicazioneDatiIvaFattureRicevute(models.Model):
help="Country code, expressed using the 3166-1 alpha-2 standard")
cedente_so_Indirizzo = fields.Char(
string='Permanent establishment address', size=60)
- cedente_so_NumeroCivico = fields.Char(
- string='Street number', size=8)
+ cedente_so_NumeroCivico = fields.Char(size=8)
cedente_so_Cap = fields.Char(
string='ZIP', size=5)
cedente_so_Comune = fields.Char(
diff --git a/l10n_it_invoices_data_communication/views/comunicazione.xml b/l10n_it_invoices_data_communication/views/comunicazione.xml
index 933aef64..1a364566 100644
--- a/l10n_it_invoices_data_communication/views/comunicazione.xml
+++ b/l10n_it_invoices_data_communication/views/comunicazione.xml
@@ -74,7 +74,7 @@
<page string="Headquarters">
<group name="cedente_sede">
<field name="cedente_sede_Indirizzo"/>
- <field name="cedente_sede_NumeroCivico"/>
+ <field name="cedente_sede_NumeroCivico" string="Street number"/>
<field name="cedente_sede_Cap"/>
<field name="cedente_sede_Comune"/>
<field name="cedente_sede_Provincia"/>
@@ -84,7 +84,7 @@
<page string="Permanent establishment">
<group name="cedente_stabile_organizzazione">
<field name="cedente_so_Indirizzo"/>
- <field name="cedente_so_NumeroCivico"/>
+ <field name="cedente_so_NumeroCivico" string="Street number"/>
<field name="cedente_so_Cap"/>
<field name="cedente_so_Comune"/>
<field name="cedente_so_Provincia"/>
@@ -299,7 +299,7 @@
<page string="Headquarters">
<group name="cedente_sede">
<field name="cedente_sede_Indirizzo"/>
- <field name="cedente_sede_NumeroCivico"/>
+ <field name="cedente_sede_NumeroCivico" string="Street number"/>
<field name="cedente_sede_Cap"/>
<field name="cedente_sede_Comune"/>
<field name="cedente_sede_Provincia"/>
@@ -309,7 +309,7 @@
<page string="Permanent establishment">
<group name="cedente_stabile_organizzazione">
<field name="cedente_so_Indirizzo"/>
- <field name="cedente_so_NumeroCivico"/>
+ <field name="cedente_so_NumeroCivico" string="Street number"/>
<field name="cedente_so_Cap"/>
<field name="cedente_so_Comune"/>
<field name="cedente_so_Provincia"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment