Skip to content

Commit 04f6b5c

Browse files
committed
Merge PR #3000 into 16.0
Signed-off-by tafaRU
2 parents 8bdf0ee + 615c6dd commit 04f6b5c

84 files changed

Lines changed: 14416 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

l10n_it_fatturapa_in/README.rst

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
=====================================
2+
ITA - Fattura elettronica - Ricezione
3+
=====================================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
17+
:target: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_fatturapa_in
18+
:alt: OCA/l10n-italy
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_fatturapa_in
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23+
:target: https://runbot.odoo-community.org/runbot/122/16.0
24+
:alt: Try me on Runbot
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
**Italiano**
29+
30+
Questo modulo consente di importare i file XML della fattura elettronica versione 1.2
31+
32+
http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm
33+
34+
ricevuti attraverso il Sistema di Interscambio (SdI).
35+
36+
http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm
37+
38+
**English**
39+
40+
This module allows to import Electronic Bill XML files 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+
48+
**Table of contents**
49+
50+
.. contents::
51+
:local:
52+
53+
Installation
54+
============
55+
56+
**Italiano**
57+
58+
Questo modulo richiede asn1crypto
59+
60+
https://github.com/wbond/asn1crypto
61+
62+
**English**
63+
64+
This module requires asn1crypto
65+
66+
https://github.com/wbond/asn1crypto
67+
68+
Configuration
69+
=============
70+
71+
**Italiano**
72+
73+
Consultare anche il file README del modulo l10n_it_fatturapa.
74+
75+
Per ciascun fornitore è possibile impostare il "Livello dettaglio e-fatture":
76+
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
79+
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.
98+
99+
Every product code used by suppliers can be set, in product form, in
100+
101+
Inventory → Products
102+
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.
104+
105+
Usage
106+
=====
107+
108+
**Italiano**
109+
110+
* Andare in 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
120+
* Upload XML file
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
123+
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.
125+
126+
Known issues / Roadmap
127+
======================
128+
129+
Il modulo contiene un cambiamento alla firma di un metodo in ``models/account.py``
130+
il quale cambia da
131+
132+
``compute_xml_amount_untaxed(self, DatiRiepilogo)``
133+
134+
a
135+
136+
``compute_xml_amount_untaxed(self, FatturaBody)``
137+
138+
Il cambiamento è dovuto all'implementazione della gestione degli arrotondamenti
139+
che posso essere presenti in 2 sezioni diverse del file XML della fattura elettronica.
140+
141+
La soluzione ottimale è stata di cambiare la firma del metodo per consentire
142+
la visibilità delle sezioni ``FatturaElettronicaBody.DatiBeniServizi.DatiRiepilogo`` e
143+
``FatturaElettronicaBody.DatiGenerali.DatiGeneraliDocumento`` dove è presente il nodo ``Arrotondamento``
144+
145+
Pertanto, al fine di ottenere il corretto valore del totale imponibile, i moduli che
146+
avessero ridefinito il metodo ``compute_xml_amount_untaxed`` nel modello ``account.invoice``
147+
dovranno adeguare la chiamata al metodo stesso preoccupandosi di utilizzare come primo parametro l'oggetto ``FatturaElettronicaBody``.
148+
149+
Bug Tracker
150+
===========
151+
152+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
153+
In case of trouble, please check there if your issue has already been reported.
154+
If you spotted it first, help us smashing it by providing a detailed and welcomed
155+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fatturapa_in%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
156+
157+
Do not contact contributors directly about support or help with technical issues.
158+
159+
Credits
160+
=======
161+
162+
Authors
163+
~~~~~~~
164+
165+
* Agile Business Group
166+
* Innoviu
167+
168+
Contributors
169+
~~~~~~~~~~~~
170+
171+
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
172+
* Roberto Onnis
173+
* Alessio Gerace
174+
* Sergio Zanchetta <https://github.com/primes2h>
175+
* Giovanni Serra <giovanni@gslab.it>
176+
* Gianmarco Conte <gconte@dinamicheaziendali.it>
177+
* Marco Colombo <https://github.com/TheMule71>
178+
179+
Maintainers
180+
~~~~~~~~~~~
181+
182+
This module is maintained by the OCA.
183+
184+
.. image:: https://odoo-community.org/logo.png
185+
:alt: Odoo Community Association
186+
:target: https://odoo-community.org
187+
188+
OCA, or the Odoo Community Association, is a nonprofit organization whose
189+
mission is to support the collaborative development of Odoo features and
190+
promote its widespread use.
191+
192+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_fatturapa_in>`_ project on GitHub.
193+
194+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_fatturapa_in/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from . import wizard
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Copyright 2015 AgileBG SAGL <http://www.agilebg.com>
2+
# Copyright 2015 innoviu Srl <http://www.innoviu.com>
3+
# Copyright 2018 Lorenzo Battistini
4+
# Copyright 2018 Sergio Zanchetta (Associazione PNLUG - Gruppo Odoo)
5+
# Copyright 2022 Marco Colombo (<marco.colombo@phi.technology>)
6+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
7+
8+
{
9+
"name": "ITA - Fattura elettronica - Ricezione",
10+
"version": "16.0.1.0.0",
11+
"development_status": "Beta",
12+
"category": "Localization/Italy",
13+
"summary": "Ricezione fatture elettroniche",
14+
"author": "Agile Business Group, Innoviu, " "Odoo Community Association (OCA)",
15+
"website": "https://github.com/OCA/l10n-italy" "l10n_it_fatturapa_in",
16+
"license": "AGPL-3",
17+
"depends": [
18+
"base_vat",
19+
"mail",
20+
"l10n_it_fatturapa",
21+
"l10n_it_fiscal_document_type",
22+
"l10n_it_withholding_tax_reason",
23+
],
24+
"data": [
25+
"views/account_view.xml",
26+
"views/partner_view.xml",
27+
"wizard/wizard_import_fatturapa_view.xml",
28+
"wizard/link_to_existing_invoice.xml",
29+
"views/company_view.xml",
30+
"security/ir.model.access.csv",
31+
"security/rules.xml",
32+
],
33+
"installable": True,
34+
"external_dependencies": {
35+
"python": ["elementpath", "asn1crypto"],
36+
},
37+
}

0 commit comments

Comments
 (0)