Skip to content

Commit 413a7ff

Browse files
committed
[ADD] l10n_it_edi_dn: aggiunta PR OCA#4960
1 parent 12bc09a commit 413a7ff

12 files changed

Lines changed: 850 additions & 0 deletions

File tree

l10n_it_edi_dn/README.rst

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
=========================
2+
Italy - E-invoicing - DDT
3+
=========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:d816030b9518befc24303a948383962abe17d52bfceb651557a50c0a7dda4f26
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
20+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_dn
21+
:alt: OCA/l10n-italy
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_edi_dn
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
**English**
32+
33+
This module allows you to add DDT information to the Electronic Invoice
34+
XML file version 1.6
35+
36+
https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf
37+
38+
to be sent to the Exchange System (ES).
39+
40+
https://www.fatturapa.gov.it/en/
41+
42+
**Italiano**
43+
44+
Questo modulo consente di aggiungere le informazione relative ai DDT al
45+
file XML della fattura elettronica versione 1.6.
46+
47+
https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf
48+
49+
da inviare al Sistema di Interscambio (SdI).
50+
51+
https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/
52+
53+
**Table of contents**
54+
55+
.. contents::
56+
:local:
57+
58+
Bug Tracker
59+
===========
60+
61+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
62+
In case of trouble, please check there if your issue has already been reported.
63+
If you spotted it first, help us to smash it by providing a detailed and welcomed
64+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_edi_dn%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
65+
66+
Do not contact contributors directly about support or help with technical issues.
67+
68+
Credits
69+
=======
70+
71+
Authors
72+
-------
73+
74+
* Giuseppe Borruso
75+
76+
Contributors
77+
------------
78+
79+
- Giuseppe Borruso <gborruso@dinamicheaziendali.it>
80+
81+
Maintainers
82+
-----------
83+
84+
This module is maintained by the OCA.
85+
86+
.. image:: https://odoo-community.org/logo.png
87+
:alt: Odoo Community Association
88+
:target: https://odoo-community.org
89+
90+
OCA, or the Odoo Community Association, is a nonprofit organization whose
91+
mission is to support the collaborative development of Odoo features and
92+
promote its widespread use.
93+
94+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_dn>`_ project on GitHub.
95+
96+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_edi_dn/__init__.py

Whitespace-only changes.

l10n_it_edi_dn/__manifest__.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2025 Giuseppe Borruso - Dinamiche Aziendali srl
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
{
5+
"name": "Italy - E-invoicing - DDT",
6+
"version": "18.0.1.0.0",
7+
"category": "Accounting/Localizations/EDI",
8+
"summary": "DDT in fatture elettroniche",
9+
"author": "Giuseppe Borruso, Odoo Community Association (OCA)",
10+
"website": "https://github.com/OCA/l10n-italy",
11+
"license": "AGPL-3",
12+
"depends": [
13+
"l10n_it_delivery_note",
14+
"l10n_it_edi",
15+
],
16+
"data": [
17+
"data/invoice_it_template.xml",
18+
],
19+
"auto_install": True,
20+
"installable": True,
21+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<odoo>
3+
<template
4+
id="l10n_it_edi_dn_template"
5+
inherit_id="l10n_it_edi.account_invoice_it_FatturaPA_export"
6+
>
7+
<xpath expr="//DatiDDT" position="attributes">
8+
<attribute name="t-if" add="not record.delivery_note_ids" separator="and" />
9+
</xpath>
10+
<xpath expr="//DatiDDT" position="after">
11+
<t
12+
t-if="record.delivery_note_ids"
13+
t-foreach="record.delivery_note_ids"
14+
t-as="delivery_note"
15+
>
16+
<DatiDDT>
17+
<NumeroDDT t-esc="format_alphanumeric(delivery_note.name[-20:])" />
18+
<DataDDT t-esc="format_date(delivery_note.date)" />
19+
</DatiDDT>
20+
</t>
21+
</xpath>
22+
</template>
23+
</odoo>

l10n_it_edi_dn/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Giuseppe Borruso \<<gborruso@dinamicheaziendali.it>\>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
**English**
2+
3+
This module allows you to add DDT information to the Electronic Invoice
4+
XML file version 1.6
5+
6+
<https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf>
7+
8+
to be sent to the Exchange System (ES).
9+
10+
<https://www.fatturapa.gov.it/en/>
11+
12+
**Italiano**
13+
14+
Questo modulo consente di aggiungere le informazione relative ai DDT al
15+
file XML della fattura elettronica versione 1.6.
16+
17+
<https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf>
18+
19+
da inviare al Sistema di Interscambio (SdI).
20+
21+
<https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/>

0 commit comments

Comments
 (0)