Repository
odoo/odoo · module folder
Module version
0.1
Category
Accounting/Localizations/EDI
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
https://www.odoo.com
Last tracking update
2026-08-08 04:11:24
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Xavier Morel, Odoo Translation Bot, qdp-odoo, Laurent Smet, Julien Castiaux, Victor Feyens, Andrea Grazioso (agr-odoo), Gorash, william-andre, Dylan Kiss (dyki), Julien Alardot (jual), lase@odoo.com, Quentin Wolfs, kcv-odoo, Louis Gobert, mano-odoo, aamo-odoo, Mohammad Abdulmoneim (abdu), djameltouati, Michaël Mattiello, Corentin Heinix (cohe), Waleed Elgamal
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Documento di Trasporto (DDT)

Whenever goods are transferred between A and B, the DDT serves
as a legitimation e.g. when the police would stop you.

When you want to print an outgoing picking in an Italian company,
it will print you the DDT instead.  It is like the delivery
slip, but it also contains the value of the product,
the transportation reason, the carrier, ... which make it a DDT.

We also use a separate sequence for the DDT as the number should not
have any gaps and should only be applied at the moment the goods are sent.

When invoices are related to their sale order and the sale order with the
delivery, the system will automatically calculate the linked DDTs for every
invoice line to export in the FatturaPA XML.
    

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
account_invoice_view_form_inherit_ddt account.invoice.form.inherit.ddt account.move form Inherits account.view_move_form
my_view_name my_view_name ir.ui.view qweb Inherits l10n_it_edi.account_invoice_it_FatturaPA_export
report_ddt report_ddt ir.ui.view qweb New
report_ddt_view report_ddt_view ir.ui.view qweb New
view_picking_form_inherit_l10n_it_ddt stock.picking.form.l10n.it.ddt stock.picking form Inherits stock.view_picking_form
view_picking_search_inherit_l10n_it_ddt stock.picking.search.l10n.it.ddt stock.picking search Inherits stock.view_picking_internal_search
view_picking_tree_inherit_l10n_it_ddt stock.picking.list.l10n.it.ddt stock.picking list Inherits stock.vpicktree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • l10n_it_ddt_count Integer
    compute='_compute_ddt_ids'
  • l10n_it_ddt_ids Many2many → stock.picking
    compute='_compute_ddt_ids' args: 'stock.picking'
Public methods (1)
  • get_linked_ddts(self)

New fields (6)
  • l10n_it_ddt_number Char
    readonly=True args: 'DDT Number'
  • l10n_it_parcels Integer
    default=1 string='Parcels'
  • l10n_it_show_print_ddt_button Boolean
    compute='_compute_l10n_it_show_print_ddt_button'
  • l10n_it_transport_method Selection
    default='sender' string='Transport Method' args: [('sender', 'Sender'), ('recipient', 'Recipient'), ('courier', 'Courier service')]
  • l10n_it_transport_method_details Char
    args: 'Transport Note'
  • l10n_it_transport_reason Selection
    default='sale' string='Transport Reason' tracking=True args: [('sale', 'Sale'), ('outsourcing', 'Outsourcing'), ('evaluation', 'Evaluation'), ('gift', 'Gift'), ('transfer', 'Transfer'), ('substitution', 'Returned goods'), ('attemped_sale', 'Attempted Sale'), ('loaned_use', 'Loaned for Use'), ('repair', 'Repair')]
Public methods (0)

No public methods.

New fields (1)
  • l10n_it_ddt_sequence_id Many2one → ir.sequence
    args: 'ir.sequence'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…