Skip to content

Commit ed120b9

Browse files
author
matteo.tognini
committed
[ADD]l10n_it_edi_delivery_note: electronic invoicing DatiDdt
1 parent 606e468 commit ed120b9

9 files changed

Lines changed: 762 additions & 0 deletions

File tree

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
=======================================================
2+
ITA - Fatturazione Elettronica - Documento di Trasporto
3+
=======================================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:cdaa614305bb9753b3e6c8d45e774a8b93906c3b1dc35d273f7a76211656030f
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_delivery_note
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_delivery_note
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+
**Italiano**
32+
33+
Questo modulo integra i Documenti di Trasporto (DDT) gestiti dal modulo
34+
``l10n_it_delivery_note`` con la fatturazione elettronica italiana.
35+
36+
Aggiunge automaticamente i riferimenti ai DDT nell'XML esportato,
37+
includendo:
38+
39+
- Numero del DDT
40+
- Data del DDT
41+
42+
**Nota importante**: Una volta installato questo modulo, è necessario
43+
disinstallare ``l10n_it_stock_ddt`` in quanto entrambi popolano la
44+
fattura elettronica con i DatiDdt.
45+
46+
--------------
47+
48+
**English**
49+
50+
This module integrates Delivery Notes (DDT) managed by the
51+
``l10n_it_delivery_note`` module with Italian electronic invoicing.
52+
53+
It automatically adds references to Delivery Notes in the exported XML,
54+
including:
55+
56+
- DDT Number
57+
- DDT Date
58+
59+
**Important note**: Once this module is installed, you must uninstall
60+
``l10n_it_stock_ddt`` as both populate the electronic invoice with
61+
DatiDdt data.
62+
63+
**Table of contents**
64+
65+
.. contents::
66+
:local:
67+
68+
Bug Tracker
69+
===========
70+
71+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
72+
In case of trouble, please check there if your issue has already been reported.
73+
If you spotted it first, help us to smash it by providing a detailed and welcomed
74+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_edi_delivery_note%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
75+
76+
Do not contact contributors directly about support or help with technical issues.
77+
78+
Credits
79+
=======
80+
81+
Authors
82+
-------
83+
84+
* Nextev Srl
85+
86+
Contributors
87+
------------
88+
89+
- Nextev Srl <<`www.nextev.it>\\> <http://www.nextev.it>\>>`__
90+
91+
Maintainers
92+
-----------
93+
94+
This module is maintained by the OCA.
95+
96+
.. image:: https://odoo-community.org/logo.png
97+
:alt: Odoo Community Association
98+
:target: https://odoo-community.org
99+
100+
OCA, or the Odoo Community Association, is a nonprofit organization whose
101+
mission is to support the collaborative development of Odoo features and
102+
promote its widespread use.
103+
104+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_delivery_note>`_ project on GitHub.
105+
106+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright 2026 Nextev Srl
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2026 Nextev Srl
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "ITA - Fatturazione Elettronica - Documento di Trasporto",
6+
"summary": "Dati DDT in fatture elettroniche",
7+
"version": "18.0.1.0.0",
8+
"category": "Localization/Italy",
9+
"website": "https://github.com/OCA/l10n-italy",
10+
"author": "Nextev Srl, Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"depends": [
13+
"l10n_it_edi",
14+
"l10n_it_delivery_note",
15+
],
16+
"data": [
17+
"data/l10n_it_edi_delivery_note_template.xml",
18+
],
19+
"installable": True,
20+
}
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_delivery_note_data"
5+
inherit_id="l10n_it_edi.account_invoice_it_FatturaPA_export"
6+
>
7+
<xpath expr='//DatiDDT' position="after">
8+
<t
9+
t-if="record.delivery_note_ids"
10+
t-foreach="record.delivery_note_ids"
11+
t-as="delivery_note"
12+
>
13+
<DatiDDT>
14+
<NumeroDDT
15+
t-if="delivery_note.name"
16+
t-esc="format_alphanumeric(delivery_note.name[-20:])"
17+
/>
18+
<DataDDT t-esc="format_date(delivery_note.date)" />
19+
</DatiDDT>
20+
</t>
21+
</xpath>
22+
</template>
23+
</odoo>
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+
- Nextev Srl \<<www.nextev.it>\>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
**Italiano**
2+
3+
Questo modulo integra i Documenti di Trasporto (DDT) gestiti dal modulo `l10n_it_delivery_note`
4+
con la fatturazione elettronica italiana.
5+
6+
Aggiunge automaticamente i riferimenti ai DDT nell'XML esportato, includendo:
7+
- Numero del DDT
8+
- Data del DDT
9+
10+
**Nota importante**: Una volta installato questo modulo, è necessario disinstallare `l10n_it_stock_ddt`
11+
in quanto entrambi popolano la fattura elettronica con i DatiDdt.
12+
13+
---
14+
15+
**English**
16+
17+
This module integrates Delivery Notes (DDT) managed by the `l10n_it_delivery_note` module
18+
with Italian electronic invoicing.
19+
20+
It automatically adds references to Delivery Notes in the exported XML, including:
21+
- DDT Number
22+
- DDT Date
23+
24+
**Important note**: Once this module is installed, you must uninstall `l10n_it_stock_ddt`
25+
as both populate the electronic invoice with DatiDdt data.
9.23 KB
Loading

0 commit comments

Comments
 (0)