Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions l10n_it_edi_dn/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
=========================
Italy - E-invoicing - DDT
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d816030b9518befc24303a948383962abe17d52bfceb651557a50c0a7dda4f26
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_dn
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_edi_dn
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

**English**

This module allows you to add DDT information to the Electronic Invoice
XML file version 1.6

https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf

to be sent to the Exchange System (ES).

https://www.fatturapa.gov.it/en/

**Italiano**

Questo modulo consente di aggiungere le informazione relative ai DDT al
file XML della fattura elettronica versione 1.6.

https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf

da inviare al Sistema di Interscambio (SdI).

https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`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**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Giuseppe Borruso

Contributors
------------

- Giuseppe Borruso <gborruso@dinamicheaziendali.it>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

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.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added l10n_it_edi_dn/__init__.py
Empty file.
21 changes: 21 additions & 0 deletions l10n_it_edi_dn/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Giuseppe Borruso - Dinamiche Aziendali srl
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Italy - E-invoicing - DDT",
"version": "18.0.1.0.0",
"category": "Accounting/Localizations/EDI",
"summary": "DDT in fatture elettroniche",
"author": "Giuseppe Borruso, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"depends": [
"l10n_it_delivery_note",
"l10n_it_edi",
],
"data": [
Comment thread
Borruso marked this conversation as resolved.
"data/invoice_it_template.xml",
],
"auto_install": True,
"installable": True,
}
23 changes: 23 additions & 0 deletions l10n_it_edi_dn/data/invoice_it_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<template
id="l10n_it_edi_dn_template"
inherit_id="l10n_it_edi.account_invoice_it_FatturaPA_export"
>
<xpath expr="//DatiDDT" position="attributes">
<attribute name="t-if" add="not record.delivery_note_ids" separator="and" />
</xpath>
<xpath expr="//DatiDDT" position="after">
<t
t-if="record.delivery_note_ids"
t-foreach="record.delivery_note_ids"
t-as="delivery_note"
>
<DatiDDT>
<NumeroDDT t-esc="format_alphanumeric(delivery_note.name[-20:])" />
<DataDDT t-esc="format_date(delivery_note.date)" />
</DatiDDT>
</t>
</xpath>
</template>
</odoo>
3 changes: 3 additions & 0 deletions l10n_it_edi_dn/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions l10n_it_edi_dn/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Giuseppe Borruso \<<gborruso@dinamicheaziendali.it>\>
21 changes: 21 additions & 0 deletions l10n_it_edi_dn/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
**English**

This module allows you to add DDT information to the Electronic Invoice
XML file version 1.6

<https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf>

to be sent to the Exchange System (ES).

<https://www.fatturapa.gov.it/en/>

**Italiano**

Questo modulo consente di aggiungere le informazione relative ai DDT al
file XML della fattura elettronica versione 1.6.

<https://www.fatturapa.gov.it/export/documenti/Specifiche_tecniche_del_formato_FatturaPA_V1.3.1.pdf>

da inviare al Sistema di Interscambio (SdI).

<https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/>
Loading
Loading