ITA - Fattura elettronica - Canale SdI

l10n_it_sdi_channel
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/16.0/l10n_it_sdi_channel
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSeLBati, Weblate, OCA-git-bot, Simone Rubino, micheledic, oca-ci, Alessandro Uffreduzzi, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_vat_payability
    - l10n_it_fiscal_payment_term
    - l10n_it_fatturapa_in
    - l10n_it_fiscal_document_type
    - l10n_it_withholding_tax_reason
    - l10n_it_withholding_tax
    - l10n_it_payment_reason
    - l10n_it_fatturapa_out
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - attachment_indexation
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
xmlschema
codicefiscale
elementpath
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Questo modulo aggiunge alcuni campi, utili come prerequisito per inviare
file XML e ZIP delle fatture elettroniche

<http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm>

tramite email PEC, WEB API oppure SFTP al Sistema di Interscambio (SdI).

<http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm>

**English**

This module add some useful fields as a pre-requisite to send XML and
ZIP files of electronic invoices

<http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm>

through mail PEC, WEB API or SFTP to the Exchange System (ES).

<http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm>

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_company_form_e_invoice_sdi view_company_form_e_invoice_sdi res.company field Inherits l10n_it_fatturapa.view_company_form_e_invoice
view_fatturapa_out_attachment_form Add SdI channel fields to Electronic Invoice fatturapa.attachment.out header Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_invoice_form_fatturapa Add SdI channel edits to invoice's form view account.move button Inherits l10n_it_fatturapa_out.view_invoice_form_fatturapa
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
wizard_fatturapa_send_to_sdi_view Form view of wizard to send multiple e-invoice to SdI wizard.fatturapa.send_to_sdi form New
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • action_open_export_send_sdi(self)
    Validate, export and send to SdI the invoices.

New fields (2)
  • channel_id Many2one → sdi.channel
    comodel_name='sdi.channel' related='company_id.sdi_channel_id' store=True
  • channel_type Selection
    readonly=True related='channel_id.channel_type'
Public methods (0)

No public methods.

New fields (1)
  • last_sdi_response Text
    default='No response yet' readonly=True string='Last Response from Exchange System'
Public methods (1)
  • send_to_sdi(self)

New fields (3)
  • e_invoice_user_id Many2one → res.users
    comodel_name='res.users' default=<expr> help='This user will be used at supplier e-bill creation.' string='E-bill creator'
  • sdi_channel_id Many2one → sdi.channel
    string='ES channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (4)
  • e_invoice_user_id Many2one
    readonly=False related='company_id.e_invoice_user_id'
  • group_sdi_channel_validate_send Boolean
    help='Allow users to validate, export and send invoices to SdI in one click.' implied_group='l10n_it_sdi_channel.res_groups_validate_send' string='Validate, export and send invoices'
  • sdi_channel_id Many2one
    readonly=False related='company_id.sdi_channel_id' string='ES channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (3)
  • channel_type Selection
    help='Channels (Pec, Web, Sftp) could be provided by external modules.' required=True selection=[] string='ES channel type'
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    required=True translate=True
Public methods (3)
  • receive_fe(self, file_name_content_dict, metadata_file_name_content_dict, **default_values)
    @api.model
    Save Electronic Bills received from SdI. Note that saving the Electronic Bills does not depend on the channel record; if any channel-specific value has to be saved in the records, it can be added in `default_values`. :param file_name_content_dict: Dictionary mapping file names to their content for each Electronic Bill. :param metadata_file_name_content_dict: Dictionary mapping file names to their content for each Metadata file. :param default_values: Default values for the creation of Electronic Bill. :return: the created Electronic Bills (`fatturapa.attachment.in`).
  • receive_notification(self, response_name_content_dict)
    @api.model
    Find and update the Electronic Invoices referenced by SdI notifications. Note that updating the Electronic Invoices does not depend on the channel record. :param response_name_content_dict: Dictionary mapping file names to their content (bytes) for each SdI notification. :return: the updated Electronic Invoices (`fatturapa.attachment.out`).
  • send(self, attachment_out_ids)
    Send `attachment_out_ids` to SdI. Each channel will define a method send_via_<channel_type>. The method will receive a recordset of Electronic Invoice (`fatturapa.attachment.out`) that have to be sent to SdI. The method will take care of updating the state of each Electronic Invoice that has managed to send.

New fields (0)

No new fields.

Public methods (1)
  • send_to_sdi(self)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sdi_channel
VERSION
VERSION 2.4.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, sergiocorato, Simone Rubino, Roberto Fichera, oca-ci, Giovanni, Alessandro Uffreduzzi, Marco Colombo, odooNextev, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_vat_payability
    - l10n_it_fiscal_payment_term
    - l10n_it_fatturapa_in
    - l10n_it_fiscal_document_type
    - l10n_it_withholding_tax_reason
    - l10n_it_withholding_tax
    - l10n_it_payment_reason
    - l10n_it_fatturapa_out
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
    - attachment_indexation
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
xmlschema
codicefiscale
openupgradelib
elementpath
phonenumbers
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_company_form_e_invoice_sdi view_company_form_e_invoice_sdi res.company field Inherits l10n_it_fatturapa.view_company_form_e_invoice
view_fatturapa_out_attachment_form Add SdI channel fields to Electronic Invoice fatturapa.attachment.out header Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_invoice_form_fatturapa Add SdI channel edits to invoice's form view account.move button Inherits l10n_it_fatturapa_out.view_invoice_form_fatturapa
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
wizard_fatturapa_send_to_sdi_view Form view of wizard to send multiple e-invoice to SdI wizard.fatturapa.send_to_sdi form New
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • action_open_export_send_sdi(self)
    Validate, export and send to SdI the invoices.

New fields (1)
  • channel_id Many2one → sdi.channel
    comodel_name='sdi.channel' related='company_id.sdi_channel_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • last_sdi_response Text
    default='No response yet' readonly=True string='Last Response from Exchange System'
Public methods (1)
  • send_to_sdi(self)

New fields (3)
  • e_invoice_user_id Many2one → res.users
    comodel_name='res.users' default=<expr> help='This user will be used at supplier e-bill creation.' string='E-bill creator'
  • sdi_channel_id Many2one → sdi.channel
    string='ES channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (4)
  • e_invoice_user_id Many2one
    readonly=False related='company_id.e_invoice_user_id'
  • group_sdi_channel_validate_send Boolean
    help='Allow users to validate, export and send invoices to SdI in one click.' implied_group='l10n_it_sdi_channel.res_groups_validate_send' string='Validate, export and send invoices'
  • sdi_channel_id Many2one
    readonly=False related='company_id.sdi_channel_id' string='ES channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (3)
  • channel_type Selection
    help='Channels (Pec, Web, Sftp) could be provided by external modules.' required=True selection=[] string='ES channel type'
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    required=True string='Name' translate=True
Public methods (3)
  • receive_fe(self, file_name_content_dict, metadata_file_name_content_dict, **default_values)
    @api.model
    Save Electronic Bills received from SdI. Note that saving the Electronic Bills does not depend on the channel record; if any channel-specific value has to be saved in the records, it can be added in `default_values`. :param file_name_content_dict: Dictionary mapping file names to their content for each Electronic Bill. :param metadata_file_name_content_dict: Dictionary mapping file names to their content for each Metadata file. :param default_values: Default values for the creation of Electronic Bill. :return: the created Electronic Bills (`fatturapa.attachment.in`).
  • receive_notification(self, response_name_content_dict)
    @api.model
    Find and update the Electronic Invoices referenced by SdI notifications. Note that updating the Electronic Invoices does not depend on the channel record. :param response_name_content_dict: Dictionary mapping file names to their content (bytes) for each SdI notification. :return: the updated Electronic Invoices (`fatturapa.attachment.out`).
  • send(self, attachment_out_ids)
    Send `attachment_out_ids` to SdI. Each channel will define a method send_via_<channel_type>. The method will receive a recordset of Electronic Invoice (`fatturapa.attachment.out`) that have to be sent to SdI. The method will take care of updating the state of each Electronic Invoice that has managed to send.

New fields (0)

No new fields.

Public methods (1)
  • send_to_sdi(self)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/12.0/l10n_it_sdi_channel
VERSION
VERSION 2.3.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSLorenzo Battistini, eLBati, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, Simone Rubino, Lara Baggio, Roberto Fichera, oca-ci, Giovanni
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/12.0/l10n_it_sdi_channel
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
    - l10n_it_fatturapa_in
    - l10n_it_withholding_tax_causali
    - l10n_it_withholding_tax
    - l10n_it_causali_pagamento
    - l10n_it_fatturapa_out
OCA/partner-contact:
    - partner_firstname
    - base_vat_sanitized
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_vat
    - document
    - base_iban
    - test_mail
    - test_performance
    - mail_bot
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
pyxb
codicefiscale
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_company_form_e_invoice_sdi view_company_form_e_invoice_sdi res.company field Inherits l10n_it_fatturapa.view_company_form_e_invoice
view_fatturapa_out_attachment_form Add SdI channel fields to Electronic Invoice fatturapa.attachment.out header Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_invoice_form_fatturapa Add SdI channel edits to invoice's form view account.invoice button Inherits l10n_it_fatturapa_out.view_invoice_form_fatturapa
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
wizard_fatturapa_send_to_sdi_view Form view of wizard to send multiple e-invoice to SdI wizard.fatturapa.send_to_sdi form New
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • action_open_export_send_sdi(self)
    Validate, export and send to SdI the invoices.

New fields (1)
  • channel_id Many2one → sdi.channel
    comodel_name='sdi.channel' related='company_id.sdi_channel_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • last_sdi_response Text
    default='No response yet' readonly=True string='Last Response from Exchange System'
Public methods (1)
  • send_to_sdi(self)
    @api.multi

New fields (3)
  • e_invoice_user_id Many2one → res.users
    comodel_name='res.users' default=<expr> help='This user will be used at supplier e-bill creation.' string='E-bill creator'
  • sdi_channel_id Many2one → sdi.channel
    string='ES channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (4)
  • e_invoice_user_id Many2one
    readonly=False related='company_id.e_invoice_user_id'
  • group_sdi_channel_validate_send Boolean
    help='Allow users to validate, export and send invoices to SdI in one click.' implied_group='l10n_it_sdi_channel.res_groups_validate_send' string='Validate, export and send invoices'
  • sdi_channel_id Many2one
    readonly=False related='company_id.sdi_channel_id' string='ES channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (3)
  • channel_type Selection
    help='Channels (Pec, Web, Sftp) could be provided by external modules.' required=True selection=[] string='ES channel type'
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    required=True string='Name'
Public methods (3)
  • receive_fe(self, file_name_content_dict, metadata_file_name_content_dict, **default_values)
    @api.model
    Save Electronic Bills received from SdI. Note that saving the Electronic Bills does not depend on the channel record; if any channel-specific value has to be saved in the records, it can be added in `default_values`. :param file_name_content_dict: Dictionary mapping file names to their content for each Electronic Bill. :param metadata_file_name_content_dict: Dictionary mapping file names to their content for each Metadata file. :param default_values: Default values for the creation of Electronic Bill. :return: the created Electronic Bills (`fatturapa.attachment.in`).
  • receive_notification(self, response_name_content_dict)
    @api.model
    Find and update the Electronic Invoices referenced by SdI notifications. Note that updating the Electronic Invoices does not depend on the channel record. :param response_name_content_dict: Dictionary mapping file names to their content (bytes) for each SdI notification. :return: the updated Electronic Invoices (`fatturapa.attachment.out`).
  • send(self, attachment_out_ids)
    @api.multi
    Send `attachment_out_ids` to SdI. Each channel will define a method send_via_<channel_type>. The method will receive a recordset of Electronic Invoice (`fatturapa.attachment.out`) that have to be sent to SdI. The method will take care of updating the state of each Electronic Invoice that has managed to send.

New fields (0)

No new fields.

Public methods (1)
  • send_to_sdi(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/11.0/l10n_it_sdi_channel
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Lara Baggio
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/11.0/l10n_it_sdi_channel
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - fetchmail
    - base_vat
    - document
    - base_iban
    - account_invoicing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
pyxb
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
ir_mail_server_fatturapa_out_pec_form ir.mail.server.fatturapa.out.pec.form ir.mail_server xpath Inherits base.ir_mail_server_form
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_company_form_e_invoice_sdi view_company_form_e_invoice_sdi res.company field Inherits l10n_it_fatturapa.view_company_form_e_invoice
view_email_server_fatturapa_out_pec_form view.email.server.fatturapa.out.pec.form fetchmail.server xpath Inherits fetchmail.view_email_server_form
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
Models touched (7)

New fields (1)
  • is_fatturapa_pec Boolean
    args: 'E-invoice PEC server'
Public methods (0)

No public methods.

New fields (2)
  • email_from_for_fatturaPA Char
    args: 'Sender Email Address'
  • is_fatturapa_pec Boolean
    args: 'E-invoice PEC server'
Public methods (1)
  • test_smtp_connection(self)
    @api.multi

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one → sdi.channel
    string='ES channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one
    readonly=False related='company_id.sdi_channel_id' string='ES channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (3)
  • channel_type Selection
    default='pec' help='PEC is the only implemented channel in this module. Other channels (Web, Sftp) could be provided by external modules.' required=True selection=SDI_CHANNELS string='ES channel type'
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    default=_('PEC') required=True string='Name'
Public methods (0)

No public methods.

New fields (4)
  • email_exchange_system Char
    default=<expr> help='The first time you send a PEC to SDI, you must use the address sdi01@pec.fatturapa.it . The system, with the first response or notification, communicates the PEC address to be used for future messages' args: 'Exchange System Email Address'
  • fetch_pec_server_id Many2one → fetchmail.server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Incoming PEC server' args: 'fetchmail.server'
  • first_invoice_sent Boolean
    readonly=True args: 'First invoice sent'
  • pec_server_id Many2one → ir.mail_server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Outgoing PEC server' args: 'ir.mail_server'
Public methods (4)
  • check_email_validity(self)
    @api.constrains('email_exchange_system')
  • check_first_pec_sending(self)
  • check_pec_server_id(self)
    @api.constrains('pec_server_id')
  • update_after_first_pec_sending(self)

New fields (4)
  • web_server_address Char
    string='Web server address'
  • web_server_login Char
    string='Web server login'
  • web_server_password Char
    string='Web server password'
  • web_server_token Char
    string='Web server token'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/10.0/l10n_it_sdi_channel
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSLorenzo Battistini, eLBati, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/10.0/l10n_it_sdi_channel
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - fetchmail
    - base_vat
    - document
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
pyxb
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ir_mail_server_fatturapa_out_pec_form ir.mail.server.fatturapa.out.pec.form ir.mail_server xpath Inherits base.ir_mail_server_form
view_account_config_settings view_account_config_settings account.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_email_server_fatturapa_out_pec_form view.email.server.fatturapa.out.pec.form fetchmail.server xpath Inherits fetchmail.view_email_server_form
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
Models touched (7)

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one
    related='company_id.sdi_channel_id' string='ES channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (1)
  • is_fatturapa_pec Boolean
    args: 'E-invoice PEC server'
Public methods (0)

No public methods.

New fields (2)
  • email_from_for_fatturaPA Char
    args: 'Sender Email Address'
  • is_fatturapa_pec Boolean
    args: 'E-invoice PEC server'
Public methods (0)

No public methods.

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one → sdi.channel
    string='ES channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (2)
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    required=True string='Name'
Public methods (0)

No public methods.

New fields (4)
  • channel_type Selection
    help='PEC is the only implemented channel in this module. Other channels (Web, Sftp) could be provided by external modules.' required=True selection=SDI_CHANNELS string='ES channel type'
  • email_exchange_system Char
    args: 'Exchange System Email Address'
  • fetch_pec_server_id Many2one → fetchmail.server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Incoming PEC server' args: 'fetchmail.server'
  • pec_server_id Many2one → ir.mail_server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Pec mail server' args: 'ir.mail_server'
Public methods (3)
  • check_email_validity(self)
    @api.constrains('email_exchange_system')
  • check_fetch_pec_server_id(self)
    @api.constrains('fetch_pec_server_id')
  • check_pec_server_id(self)
    @api.constrains('pec_server_id')

New fields (4)
  • web_server_address Char
    string='Web server address'
  • web_server_login Char
    string='Web server login'
  • web_server_password Char
    string='Web server password'
  • web_server_token Char
    string='Web server token'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/8.0/l10n_it_sdi_channel
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Efatto.it di Sergio Corato
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Efatto.it di Sergio Corato
COMMITTERS
COMMITTERSeLBati, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_base
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - fetchmail
    - base_vat
    - document
    - knowledge
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES asn1crypto
pyxb
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ir_mail_server_fatturapa_out_pec_form ir.mail.server.fatturapa.out.pec.form ir.mail_server xpath Inherits base.ir_mail_server_form
view_account_config_settings view_account_config_settings account.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_email_server_fatturapa_out_pec_form view.email.server.fatturapa.out.pec.form fetchmail.server xpath Inherits fetchmail.view_email_server_form
view_sdi_channel_form view_sdi_channel_form sdi.channel form New
view_sdi_channel_tree view_sdi_channel_tree sdi.channel tree New
Models touched (7)

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one
    related='company_id.sdi_channel_id' string='SdI channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (1)
  • is_fatturapa_pec Boolean
    string='FatturaPA PEC server'
Public methods (0)

No public methods.

New fields (2)
  • email_from_for_fatturaPA Char
    string='Sender Email Address'
  • is_fatturapa_pec Boolean
    string='FatturaPA PEC server'
Public methods (0)

No public methods.

New fields (4)
  • email_exchange_system Char
    readonly=True related='sdi_channel_id.email_exchange_system' string='Exchange System Email Address'
  • email_from_for_fatturaPA Char
    readonly=True related='sdi_channel_id.pec_server_id.email_from_for_fatturaPA' string='Sender Email Address'
  • sdi_channel_id Many2one → sdi.channel
    string='SdI channel' args: 'sdi.channel'
  • sdi_channel_type Selection
    readonly=True related='sdi_channel_id.channel_type'
Public methods (0)

No public methods.

New fields (2)
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • name Char
    required=True string='Name'
Public methods (0)

No public methods.

New fields (4)
  • channel_type Selection
    help='PEC is the only implemented channel in this module. Other channels (Web, Sftp) could be provided by external modules.' required=True selection=SDI_CHANNELS string='SdI channel type'
  • email_exchange_system Char
    args: 'Exchange System Email Address'
  • fetch_pec_server_id Many2one → fetchmail.server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Incoming PEC server' args: 'fetchmail.server'
  • pec_server_id Many2one → ir.mail_server
    domain=[('is_fatturapa_pec', '=', True)] required=False string='Pec mail server' args: 'ir.mail_server'
Public methods (3)
  • check_email_validity(self)
    @api.constrains('email_exchange_system')
  • check_fetch_pec_server_id(self)
    @api.constrains('fetch_pec_server_id')
  • check_pec_server_id(self)
    @api.constrains('pec_server_id')

New fields (4)
  • web_server_address Char
    string='Web server address'
  • web_server_login Char
    string='Web server login'
  • web_server_password Char
    string='Web server password'
  • web_server_token Char
    string='Web server token'
Public methods (0)

No public methods.