Skip to content

Commit 09b99b5

Browse files
committed
[FIX] translation source strings l10n_it_fatturapa_in
[IMP] revamp README and manifest [FIX] wrong tabs indentation
1 parent 926f1e6 commit 09b99b5

23 files changed

Lines changed: 499 additions & 360 deletions

l10n_it_fatturapa_in/README.rst

Lines changed: 68 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
====================================================
2-
Italian Localization - Fattura Elettronica reception
3-
====================================================
1+
======================================================
2+
Italian Localization - Fattura Elettronica - Reception
3+
======================================================
44

55
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
66
!! This file is generated by oca-gen-addon-readme !!
@@ -25,14 +25,26 @@ Italian Localization - Fattura Elettronica reception
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
2727

28-
This module allows to import XML files of electronic invoices, version 1.2
28+
**Italiano**
29+
30+
Questo modulo consente di importare i file XML delle fatture elettroniche, versione 1.2
2931

3032
http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm
3133

32-
received through the exchange system (SDI)
34+
ricevute attraverso il Sistema di Interscambio (SDI)
3335

3436
http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm
3537

38+
**English**
39+
40+
This module allows to import XML files of electronic bills, version 1.2
41+
42+
http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm
43+
44+
received through the Exchange System (ES)
45+
46+
http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm
47+
3648
**Table of contents**
3749

3850
.. contents::
@@ -41,37 +53,75 @@ http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm
4153
Installation
4254
============
4355

44-
odoo server must run on linux and be able to run
56+
**Italiano**
57+
58+
Il server Odoo deve essere avviato da un sistema Linux con installato
59+
60+
``openssl``
61+
62+
**English**
63+
64+
Odoo server must run on linux and be able to run
4565

4666
``openssl``
4767

4868
Configuration
4969
=============
5070

51-
Also see the README file of l10n_it_fatturapa module.
71+
**Italiano**
72+
73+
Consultare anche il file README del modulo l10n_it_fatturapa.
5274

53-
For every supplier, it is possible to set the 'details level of electronic invoices':
75+
Per ciascun fornitore è possibile impostare il "Livello dettaglio e-fatture":
5476

55-
- Minimum level: Supplier invoice is created without lines; user will have to create them, according to what specified in electronic invoice
56-
- Maximum level: every line contained in electronic invoice will create a line in supplier invoice.
77+
- Livello minimo: la fattura fornitore viene creata senza righe, che dovranno essere create dall'utente in base a quanto indicato nella fattura elettronica
78+
- Livello massimo: le righe della fattura fornitore verranno generate a partire da tutte quelle presenti nella fattura elettronica
5779

58-
Moreover, it is possible, in supplier form, to set the 'default product for electronic invoices': this product will be used, during generation of supplier invoices, when no other possible product is found. Tax and account of invoice line will be set according to what configured in the product.
80+
Nella scheda fornitore è inoltre possibile impostare il "Prodotto predefinito per e-fattura": verrà usato, durante la generazione delle fatture fornitore, quando non sono disponibili altri prodotti adeguati. Il conto e l'imposta della riga fattura verranno impostati in base a quelli configurati nel prodotto.
81+
82+
Tutti i codici prodotto usati dai fornitori possono essere impostati nella relativa scheda, in
83+
84+
Magazzino → Prodotti
85+
86+
Se il fornitore specifica un codice noto nell'XML, questo verrà usato dal sistema per recuperare il prodotto corretto da usare nella riga fattura, impostando il conto e l'imposta collegati.
87+
88+
**English**
89+
90+
See also the README file of l10n_it_fatturapa module.
91+
92+
For every supplier, it is possible to set the 'E-bills Detail Level':
93+
94+
- Minimum level: Bill is created with no lines; User will have to create them, according to what specified in the electronic bill
95+
- Maximum level: every line contained in electronic bill will create a line in bill
96+
97+
Moreover, in supplier form you can set the 'E-bill Default Product': this product will be used, during generation of bills, when no other possible product is found. Tax and account of bill line will be set according to what configured in the product.
5998

6099
Every product code used by suppliers can be set, in product form, in
61100

62-
Inventory --> Suppliers
101+
Inventory → Products
63102

64-
If supplier specifies a known code in XML, the system will use it to retrieve the correct product to be used in invoice line, setting the related tax and account.
103+
If supplier specifies a known code in XML, the system will use it to retrieve the correct product to be used in bill line, setting the related tax and account.
65104

66105
Usage
67106
=====
68107

69-
* Go to Accounting --> Purchases --> Electronic Invoice
108+
**Italiano**
109+
110+
* Andare su Contabilità → Acquisti → Fattura elettronica
111+
* Caricare un file XML
112+
* Visualizzare il contenuto della fattura facendo clic su "Mostra anteprima"
113+
* Eseguire la procedura guidata "Importa e-fattura" per creare una fattura in bozza oppure "Collega a fattura esistente" per collegare il file XML a una fattura già (automaticamente) creata
114+
115+
Nell'elenco file delle fatture elettroniche in ingresso saranno presenti, in modo predefinito, quelli da registrare. Sono i file che devono ancora essere collegati a una o più fatture fornitore.
116+
117+
**English**
118+
119+
* Go to Accounting → Purchases → Electronic Bill
70120
* Upload XML file
71-
* View invoice content clicking on 'show preview'
72-
* Run 'import electronic invoice' wizard to create a draft invoice or run 'link to existing supplier invoice' to link the XML file to an already (automatically) created invoice
121+
* View bill content clicking on 'Show preview'
122+
* Run 'Import e-bill' wizard to create a draft bill or run 'Link to existing bill' to link the XML file to an already (automatically) created bill
73123

74-
In the incoming electronic invoice files list, by default you will see files to be registered, that is files not yet linked to one or more supplier invoices
124+
In the incoming electronic bill files list you will see, by default, files to be registered. These are files not yet linked to one or more bills.
75125

76126
Bug Tracker
77127
===========
@@ -98,6 +148,7 @@ Contributors
98148
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
99149
* Roberto Onnis
100150
* Alessio Gerace
151+
* Sergio Zanchetta <https://github.com/primes2h>
101152

102153
Maintainers
103154
~~~~~~~~~~~

l10n_it_fatturapa_in/__manifest__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
# Copyright 2015 AgileBG SAGL <http://www.agilebg.com>
33
# Copyright 2015 innoviu Srl <http://www.innoviu.com>
44
# Copyright 2018 Lorenzo Battistini
5+
# Copyright 2018 Sergio Zanchetta (Associazione PNLUG - Gruppo Odoo)
6+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
57

68
{
7-
'name': 'Italian Localization - Fattura Elettronica reception',
8-
'version': '10.0.1.2.0',
9+
'name': 'Italian Localization - Fattura Elettronica - Reception',
10+
'version': '10.0.1.2.1',
911
'category': 'Localization/Italy',
1012
'summary': 'Electronic invoices reception',
1113
'author': 'Agile Business Group, Innoviu, '
1214
'Odoo Community Association (OCA)',
13-
'website': 'http://www.agilebg.com',
15+
'website': 'https://github.com/OCA/l10n-italy/tree/10.0/'
16+
'l10n_it_fatturapa_in',
1417
'license': 'LGPL-3',
1518
"depends": [
1619
'l10n_it_fatturapa',

l10n_it_fatturapa_in/models/account.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ class AccountInvoice(models.Model):
88
_inherit = "account.invoice"
99

1010
fatturapa_attachment_in_id = fields.Many2one(
11-
'fatturapa.attachment.in', 'E-Invoice Import File',
11+
'fatturapa.attachment.in', 'E-bill Import File',
1212
ondelete='restrict', copy=False)
1313
inconsistencies = fields.Text('Import Inconsistencies', copy=False)
1414
e_invoice_line_ids = fields.One2many(
15-
"einvoice.line", "invoice_id", string="Dettaglio Linee",
15+
"einvoice.line", "invoice_id", string="Lines detail",
1616
readonly=True, copy=False)
1717

1818
@api.multi
@@ -49,7 +49,7 @@ class fatturapa_article_code(models.Model):
4949
name = fields.Char('Cod Type')
5050
code_val = fields.Char('Code Value')
5151
e_invoice_line_id = fields.Many2one(
52-
'einvoice.line', 'Related E-Invoice line', readonly=True
52+
'einvoice.line', 'Related E-bill line', readonly=True
5353
)
5454

5555

@@ -61,60 +61,60 @@ class AccountInvoiceLine(models.Model):
6161
_inherit = "account.invoice.line"
6262

6363
fatturapa_attachment_in_id = fields.Many2one(
64-
'fatturapa.attachment.in', 'E-Invoice Import File',
64+
'fatturapa.attachment.in', 'E-bill Import File',
6565
readonly=True, related='invoice_id.fatturapa_attachment_in_id')
6666

6767

6868
class DiscountRisePrice(models.Model):
6969
_inherit = "discount.rise.price"
7070
e_invoice_line_id = fields.Many2one(
71-
'einvoice.line', 'Related E-Invoice line', readonly=True
71+
'einvoice.line', 'Related E-bill line', readonly=True
7272
)
7373

7474

7575
class EInvoiceLine(models.Model):
7676
_name = 'einvoice.line'
7777
invoice_id = fields.Many2one(
78-
"account.invoice", "Invoice", readonly=True)
79-
line_number = fields.Integer('Numero Linea', readonly=True)
80-
service_type = fields.Char('Tipo Cessione Prestazione', readonly=True)
78+
"account.invoice", "Bill", readonly=True)
79+
line_number = fields.Integer('Line Number', readonly=True)
80+
service_type = fields.Char('Sale Provision Type', readonly=True)
8181
cod_article_ids = fields.One2many(
8282
'fatturapa.article.code', 'e_invoice_line_id',
8383
'Cod. Articles', readonly=True
8484
)
85-
name = fields.Char("Descrizione", readonly=True)
85+
name = fields.Char("Description", readonly=True)
8686
qty = fields.Float(
87-
"Quantita'", readonly=True,
87+
"Quantity", readonly=True,
8888
digits=dp.get_precision('Product Unit of Measure')
8989
)
90-
uom = fields.Char("Unita' di misura", readonly=True)
91-
period_start_date = fields.Date("Data Inizio Periodo", readonly=True)
92-
period_end_date = fields.Date("Data Fine Periodo", readonly=True)
90+
uom = fields.Char("Unit of measure", readonly=True)
91+
period_start_date = fields.Date("Period Start Date", readonly=True)
92+
period_end_date = fields.Date("Period End Date", readonly=True)
9393
unit_price = fields.Float(
94-
"Prezzo unitario", readonly=True,
94+
"Unit Price", readonly=True,
9595
digits=dp.get_precision('Product Price')
9696
)
9797
discount_rise_price_ids = fields.One2many(
9898
'discount.rise.price', 'e_invoice_line_id',
99-
'Discount and Rise Price Details', readonly=True
99+
'Discount and Supplement Price Details', readonly=True
100100
)
101-
total_price = fields.Float("Prezzo Totale", readonly=True)
102-
tax_amount = fields.Float("Aliquota IVA", readonly=True)
103-
wt_amount = fields.Char("Ritenuta", readonly=True)
104-
tax_kind = fields.Char("Natura", readonly=True)
105-
admin_ref = fields.Char("Riferimento mministrazione", readonly=True)
101+
total_price = fields.Float("Total Price", readonly=True)
102+
tax_amount = fields.Float("VAT Rate", readonly=True)
103+
wt_amount = fields.Char("Tax Withholding", readonly=True)
104+
tax_kind = fields.Char("Nature", readonly=True)
105+
admin_ref = fields.Char("Administration Reference", readonly=True)
106106
other_data_ids = fields.One2many(
107107
"einvoice.line.other.data", "e_invoice_line_id",
108-
string="Altri dati gestionali", readonly=True)
108+
string="Other Administrative Data", readonly=True)
109109

110110

111111
class EInvoiceLineOtherData(models.Model):
112112
_name = 'einvoice.line.other.data'
113113

114114
e_invoice_line_id = fields.Many2one(
115-
'einvoice.line', 'Related E-Invoice line', readonly=True
115+
'einvoice.line', 'Related E-bill line', readonly=True
116116
)
117-
name = fields.Char("Tipo Dato", readonly=True)
118-
text_ref = fields.Char("Riferimento Testo", readonly=True)
119-
num_ref = fields.Float("Riferimento Numero", readonly=True)
120-
date_ref = fields.Char("Riferimento Data", readonly=True)
117+
name = fields.Char("Data Type", readonly=True)
118+
text_ref = fields.Char("Text Reference", readonly=True)
119+
num_ref = fields.Float("Number Reference", readonly=True)
120+
date_ref = fields.Char("Date Reference", readonly=True)

l10n_it_fatturapa_in/models/attachment.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ class FatturaPAAttachmentIn(models.Model):
2222
"Invoices number", compute="_compute_xml_data", store=True)
2323
invoices_total = fields.Float(
2424
"Invoices total", compute="_compute_xml_data", store=True,
25-
help="Se indicato dal fornitore, Importo totale del documento al "
26-
"netto dell'eventuale sconto e comprensivo di imposta a debito "
27-
"del cessionario / committente"
25+
help="If specified by supplier, total amount of the document net of "
26+
"any discount and including tax charged to the buyer/ordered"
2827
)
2928
registered = fields.Boolean(
3029
"Registered", compute="_compute_registered", store=True)

l10n_it_fatturapa_in/models/company.py

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@ class ResCompany(models.Model):
77
_inherit = 'res.company'
88

99
dati_bollo_product_id = fields.Many2one(
10-
'product.product', 'Product for Dati Bollo',
11-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
12-
'viene valorizzato l\'elemento DatiBollo'
10+
'product.product', 'Stamp Data Product',
11+
help="Product used to model DatiBollo XML element on bills."
1312
)
1413
cassa_previdenziale_product_id = fields.Many2one(
15-
'product.product', 'Product for Dati Cassa Previdenziale',
16-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
17-
'viene valorizzato l\'elemento DatiCassaPrevidenziale'
14+
'product.product', 'Welfare Fund Data Product',
15+
help="Product used to model DatiCassaPrevidenziale XML element "
16+
"on bills."
1817
)
1918
sconto_maggiorazione_product_id = fields.Many2one(
20-
'product.product', 'Product for Sconto Maggiorazione',
21-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
22-
'viene valorizzato l\'elemento ScontoMaggiorazione'
19+
'product.product', 'Discount Supplement Product',
20+
help="Product used to model ScontoMaggiorazione XML element on bills."
2321
)
2422

2523

@@ -28,21 +26,19 @@ class AccountConfigSettings(models.TransientModel):
2826

2927
dati_bollo_product_id = fields.Many2one(
3028
related='company_id.dati_bollo_product_id',
31-
string="Product for Dati Bollo",
32-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
33-
'viene valorizzato l\'elemento DatiBollo'
29+
string="Stamp Data Product",
30+
help="Product used to model DatiBollo XML element on bills."
3431
)
3532
cassa_previdenziale_product_id = fields.Many2one(
3633
related='company_id.cassa_previdenziale_product_id',
37-
string="Product for Dati Cassa Previdenziale",
38-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
39-
'viene valorizzato l\'elemento DatiCassaPrevidenziale'
34+
string="Welfare Fund Data Product",
35+
help="Product used to model DatiCassaPrevidenziale XML element "
36+
"on bills."
4037
)
4138
sconto_maggiorazione_product_id = fields.Many2one(
4239
related='company_id.sconto_maggiorazione_product_id',
43-
string="Product for Sconto Maggiorazione",
44-
help='Prodotto da utilizzare nelle fatture passive quando nell\'XML '
45-
'viene valorizzato l\'elemento ScontoMaggiorazione'
40+
string="Discount Supplement Product",
41+
help="Product used to model ScontoMaggiorazione XML element on bills."
4642
)
4743

4844
@api.onchange('company_id')

l10n_it_fatturapa_in/models/partner.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ class Partner(models.Model):
88

99
e_invoice_default_product_id = fields.Many2one(
1010
comodel_name='product.product',
11-
string='Default product electronic invoice',
11+
string='E-bill Default Product',
1212
help="Used by electronic invoice XML import. "
1313
"If filled, generated invoice lines will use this product, when "
1414
"no other possible product is found."
1515
)
1616
e_invoice_detail_level = fields.Selection([
17-
('0', 'Minimo'),
17+
('0', 'Minimum'),
1818
# ('1', 'Aliquote'),
19-
('2', 'Massimo'),
20-
], string="Livello di dettaglio Fatture elettroniche passive",
21-
help="Livello minimo: La fattura passiva viene creata senza righe; "
22-
"sara' l'utente a doverle creare in base a quanto indicato dal "
23-
"fornitore nella fattura elettronica\n"
19+
('2', 'Maximum'),
20+
], string="E-bills Detail Level",
21+
help="Minumum level: Bill is created with no lines; "
22+
"User will have to create them, according to what specified in "
23+
"the electronic bill.\n"
2424
# "Livello Aliquote: viene creata una riga fattura per ogni "
2525
# "aliquota presente nella fattura elettronica\n"
26-
"Livello Massimo: tutte le righe presenti nella fattura "
27-
"elettronica vengono create come righe della fattura passiva",
26+
"Maximum level: every line contained in the electronic bill "
27+
"will create a line in the bill.",
2828
default='2', required=True
2929
)

0 commit comments

Comments
 (0)