Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 8 views 0 HTTP endpoints

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 8

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
report_invoice_document report_invoice_document ir.ui.view qweb Inherits l10n_it_edi.report_invoice_document
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…

Loading…