OdooWiki OCA HUB

ITA - Fattura PA - sale orders as related documents

l10n_it_fatturapa_auto_sale_order folder_open OCA/l10n-italy open_in_new
Localization/Italy License: AGPL-3

Italiano

Modulo opzionale per aggiungere automaticamente i dati dei sale order in fattura elettronica (FatturaPA)

English

Additional module to add sale order data in the electronic invoice (FatturaPA)

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

When a customer invoice is created from a sales order, this module automatically adds the sales order as a related document in the Italian electronic invoice (FatturaPA).

This module is for Italian companies that issue electronic invoices (FatturaPA) and want the original sales order to appear as a related document on the invoice.

When a new customer invoice is created, the module checks whether it is a sales document. If it is, it looks at the sales order lines behind the invoice lines and adds each sales order as a related document of type "order". The document name is the sales order reference, and if the customer's purchase order reference is filled in, it is shown in brackets after it. The order date is also recorded.

  • It only acts on invoices that are sales documents.
  • It skips invoices that already have a related document of type "order", so nothing is duplicated.
  • The related documents are stored on the invoice and are used by the FatturaPA electronic invoice.

There is no new menu or screen: the result is visible in the related documents section of the invoice, which is part of the Italian electronic invoicing setup. The module touches account.move and the related document model used by FatturaPA.

Depends on

Models and fields (1)
  • account.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-italy.

terminal Installation and usage

OCA documentation · Odoo 16.0

Italiano

  • Alla creazione di una fattura da ordine di vendita, viene aggiunto automaticamente l'ordine come documento collegato, e nell'XML FatturaPA apparirà nella stanza DatiOrdineAcquisto.

English

  • When creating an invoice from a sale order, a related document is created, and will appear in the DatiOrdineAcquisto element inside the FatturaPA XML .

Italiano

Il modulo funziona automaticamente alla creazione di una fattura da sale order.

English

The module adds sale order data to the invoice automatically.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.