ITA - Intrastat

l10n_it_intrastat
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/18.0/l10n_it_intrastat
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
COMMITTERS
COMMITTERSeLBati, tafaRU, Weblate, OCA-git-bot, oca-ci, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - account
    - onboarding
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Questo modulo si occupa della riclassificazione delle merci e dei
servizi che sono oggetto di transazioni comunitarie.

Il modulo precarica anche le tabelle necessarie alla compilazione della
dichiarazione: nomenclature combinate, sezioni doganali, natura delle
transazioni, modalità di trasporto.

Per la creazione delle dichiarazioni, degli elenchi riepilogativi e le
estrazioni da presentare all'Agenzia delle Dogane è necessario
installare il modulo l10n_it_intrastat_statement.

Code Analysis

Views touched (20)
XML IDNameModelTypeStatus
account_intrastat_custom_view_form account.intrastat.custom.view.form account.intrastat.custom form New
account_intrastat_custom_view_tree account.intrastat.custom.view.tree account.intrastat.custom list New
account_intrastat_invoice_form account.intrastat.invoice.form account.move xpath Inherits account.view_move_form
account_intrastat_payment_term_form_view account.intrastat.payment.term.form.view account.payment.term xpath Inherits account.view_payment_term_form
account_intrastat_transaction_nature_b_view_form account.intrastat.transaction.nature.b.view.form account.intrastat.transaction.nature.b form New
account_intrastat_transaction_nature_b_view_tree account.intrastat.transaction.nature.b.view.tree account.intrastat.transaction.nature.b list New
account_intrastat_transaction_nature_view_form account.intrastat.transaction.nature.view.form account.intrastat.transaction.nature form New
account_intrastat_transaction_nature_view_tree account.intrastat.transaction.nature.view.tree account.intrastat.transaction.nature list New
account_intrastat_transport_view_form account.intrastat.transport.view.form account.intrastat.transport form New
account_intrastat_transport_view_tree account.intrastat.transport.view.tree account.intrastat.transport list New
view_form_invoice_intrastat_form views.form.account.intrastat.invoice.intrastat account.invoice.intrastat form New
view_form_report_intrastat_code views.form.report.intrastat.code report.intrastat.code form New
view_instrastat_product_category_form intrastat.product.category.form product.category xpath Inherits product.product_category_form_view
view_instrastat_product_template_2_form intrastat.product.template.2.form product.template xpath Inherits account.product_template_form_view
view_intrastat_account_position_form intrastat.account.fiscal.position.form account.fiscal.position xpath Inherits account.view_account_position_form
view_intrastat_company_form view_form_intrastat_company res.company xpath Inherits base.view_company_form
view_invoice_intrastat_search invoice.intrastat.search account.invoice.intrastat search New
view_tree_invoice_intrastat_form views.tree.account.intrastat.invoice.intrastat account.invoice.intrastat list New
view_tree_invoice_intrastat_report_tree account.intrastat.invoice.intrastat.report account.invoice.intrastat list New
view_tree_report_intrastat_code views.tree.report.intrastat.code report.intrastat.code list New
Models touched (14)

New fields (1)
  • l10n_it_oca_intrastat Boolean
    string='Subject to Intrastat'
Public methods (0)

No public methods.

New fields (4)
  • code Char
  • date_start Date
    string='Start Date'
  • date_stop Date
    string='Stop Date'
  • name Char
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • code Char
    required=True
  • name Char
  • triangulation Selection
    selection=[('A', 'A'), ('B', 'B'), ('C', 'C'), ('D', 'D'), ('E', 'E'), ('F', 'F'), ('G', 'G'), ('H', 'H')]
Public methods (0)

No public methods.

New fields (3)
  • code Char
    required=True
  • name Char
  • nature_parent_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True
  • name Char
Public methods (0)

No public methods.

New fields (32)
  • additional_units Float
  • additional_units_uom Char
    related='intrastat_code_id.additional_unit_uom_id.name' string='Additional Unit of Measure'
  • amount_currency Float
    digits='Account' string='Amount in Currency'
  • amount_euro Float
    compute='_compute_amount_euro' digits='Account' store=True string='Amount in Euro'
  • company_id Many2one
    index=True precompute=True related='invoice_id.company_id' store=True
  • country_destination_id Many2one → res.country
    comodel_name='res.country' string='Destination Country'
  • country_good_origin_id Many2one → res.country
    comodel_name='res.country' string='Goods Origin Country'
  • country_origin_id Many2one → res.country
    comodel_name='res.country' string='Provenance Country'
  • country_partner_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_data' store=True string='Partner State'
  • country_payment_id Many2one → res.country
    comodel_name='res.country' string='Payment Country'
  • currency_rate Float
  • delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Delivery Terms'
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' required=True string='Nomenclature Code'
  • intrastat_code_type Selection
    default='good' required=True selection=[('service', 'Service'), ('good', 'Goods')] string='Code Type'
  • intrastat_type_data Selection
    default='all' required=True selection=[('all', 'All (Fiscal and Statistic)'), ('fiscal', 'Fiscal'), ('statistic', 'Statistic')] string='Data Type'
  • invoice_date Date
    compute='_compute_invoice_ref' store=True
  • invoice_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' required=True string='Invoice'
  • invoice_number Char
    compute='_compute_invoice_ref' store=True
  • invoice_type Selection
    related='invoice_id.move_type' string='Invoice Type'
  • partner_id Many2one
    related='invoice_id.partner_id' store=True string='Partner'
  • payment_method Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')]
  • province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • show_weight Boolean
    default=True string='Display weight in declaration'
  • statement_section Selection
    compute='_compute_statement_section' selection=[('sale_s1', 'Sales section 1'), ('sale_s2', 'Sales section 2'), ('sale_s3', 'Sales section 3'), ('sale_s4', 'Sales section 4'), ('purchase_s1', 'Purchases section 1'), ('purchase_s2', 'Purchases section 2'), ('purchase_s3', 'Purchases section 3'), ('purchase_s4', 'Purchases section 4')]
  • statistic_amount_euro Float
    digits='Account' string='Statistic Value in Euro'
  • supply_method Selection
    selection=[('I', 'Instant'), ('R', 'Repeated')]
  • transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Transaction Nature B'
  • transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
  • transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Transport Mode'
  • triangulation Boolean
    default=False
  • weight_kg Float
    string='Net Mass (kg)'
Public methods (4)
  • change_amount_euro(self)
    @api.onchange('amount_euro')
  • change_intrastat_code_type(self)
    @api.onchange('intrastat_code_type')
  • change_weight_kg(self)
    @api.onchange('weight_kg')
  • compute_statement_section(self, intrastat_code_type, invoice_type)
    @api.model

New fields (2)
  • intrastat Boolean
    copy=False string='Subject to Intrastat'
  • intrastat_line_ids One2many → account.invoice.intrastat
    comodel_name='account.invoice.intrastat' copy=False inverse_name='invoice_id' string='Intrastat'
Public methods (4)
  • action_post(self)
  • change_fiscal_position(self)
    @api.onchange('fiscal_position_id')
  • compute_intrastat_lines(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intrastat_code Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    string='Nomenclature Code' args: 'report.intrastat.code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    args: [('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' string='Intrastat Code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    selection=[('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (1)
  • get_intrastat_data(self)
    The intrastat code with the following priority: - Intrastat Code on product template - Intrastat Code on product category

New fields (7)
  • active Boolean
    default=True
  • additional_unit_from Selection
    selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit of Measure from'
  • additional_unit_required Boolean
    string='Additional Unit of Measure Required'
  • additional_unit_uom_id Many2one → uom.uom
    comodel_name='uom.uom' string='Additional Unit of Measure'
  • description Char
    translate=True
  • name Char
    string='Intrastat Code'
  • type Selection
    selection=[('good', 'Goods'), ('service', 'Service')]
Public methods (1)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (21)
  • intrastat_additional_unit_from Selection
    default='weight' selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit from'
  • intrastat_delegated_name Char
    string='Delegate'
  • intrastat_delegated_vat Char
    string='Delegate VAT number'
  • intrastat_exclude_free_line Boolean
    string='Exclude Free lines'
  • intrastat_export_file_name Char
    string='File name for export'
  • intrastat_min_amount Float
    default=1.0 help="In case of invoices < 'Min amount', use min amount in Intrastat statement" string='Min amount'
  • intrastat_purchase_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Purchases Delivery Terms'
  • intrastat_purchase_province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • intrastat_purchase_statistic_amount Boolean
    string='Purchases Statistic Value in Euro'
  • intrastat_purchase_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Purchases Transaction Nature B'
  • intrastat_purchase_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Purchases Transaction Nature'
  • intrastat_purchase_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Purchases Transport Mode'
  • intrastat_sale_country_origin_id Many2one → res.country
    comodel_name='res.country' string='Origin Country'
  • intrastat_sale_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Sales Delivery Terms'
  • intrastat_sale_province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • intrastat_sale_statistic_amount Boolean
    string='Sales Statistic Value in Euro'
  • intrastat_sale_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Sales Transaction Nature B'
  • intrastat_sale_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Sales Transaction Nature'
  • intrastat_sale_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Sales Transport Mode'
  • intrastat_ua_code Char
    string='User ID (UA Code)'
  • intrastat_uom_kg_id Many2one → uom.uom
    comodel_name='uom.uom' string='Unit of Measure for Kg'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • intrastat_validate(self)
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_intrastat
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
COMMITTERS
COMMITTERSeLBati, tafaRU, Weblate, OCA-git-bot, Simone Rubino, oca-ci, Borruso, alex
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - stock_account
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Questo modulo si occupa della riclassificazione delle merci e dei
servizi che sono oggetto di transazioni comunitarie.

Il modulo precarica anche le tabelle necessarie alla compilazione della
dichiarazione: nomenclature combinate, sezioni doganali, natura delle
transazioni, modalità di trasporto.

Per la creazione delle dichiarazioni, degli elenchi riepilogativi e le
estrazioni da presentare all'Agenzia delle Dogane è necessario
installare il modulo l10n_it_intrastat_statement.

Code Analysis

Views touched (20)
XML IDNameModelTypeStatus
account_intrastat_custom_view_form account.intrastat.custom.view.form account.intrastat.custom form New
account_intrastat_custom_view_tree account.intrastat.custom.view.tree account.intrastat.custom tree New
account_intrastat_invoice_form account.intrastat.invoice.form account.move xpath Inherits account.view_move_form
account_intrastat_payment_term_form_view account.intrastat.payment.term.form.view account.payment.term xpath Inherits account.view_payment_term_form
account_intrastat_transaction_nature_b_view_form account.intrastat.transaction.nature.b.view.form account.intrastat.transaction.nature.b form New
account_intrastat_transaction_nature_b_view_tree account.intrastat.transaction.nature.b.view.tree account.intrastat.transaction.nature.b tree New
account_intrastat_transaction_nature_view_form account.intrastat.transaction.nature.view.form account.intrastat.transaction.nature form New
account_intrastat_transaction_nature_view_tree account.intrastat.transaction.nature.view.tree account.intrastat.transaction.nature tree New
account_intrastat_transport_view_form account.intrastat.transport.view.form account.intrastat.transport form New
account_intrastat_transport_view_tree account.intrastat.transport.view.tree account.intrastat.transport tree New
view_form_invoice_intrastat_form views.form.account.intrastat.invoice.intrastat account.invoice.intrastat form New
view_form_report_intrastat_code views.form.report.intrastat.code report.intrastat.code form New
view_instrastat_product_category_form intrastat.product.category.form product.category xpath Inherits product.product_category_form_view
view_instrastat_product_template_2_form intrastat.product.template.2.form product.template xpath Inherits account.product_template_form_view
view_intrastat_account_position_form intrastat.account.fiscal.position.form account.fiscal.position xpath Inherits account.view_account_position_form
view_intrastat_company_form view_form_intrastat_company res.company xpath Inherits base.view_company_form
view_invoice_intrastat_search invoice.intrastat.search account.invoice.intrastat search New
view_tree_invoice_intrastat_form views.tree.account.intrastat.invoice.intrastat account.invoice.intrastat tree New
view_tree_invoice_intrastat_report_tree account.intrastat.invoice.intrastat.report account.invoice.intrastat tree New
view_tree_report_intrastat_code views.tree.report.intrastat.code report.intrastat.code tree New
Models touched (14)

New fields (1)
  • intrastat Boolean
    string='Subject to Intrastat'
Public methods (0)

No public methods.

New fields (4)
  • code Char
  • date_start Date
    string='Start Date'
  • date_stop Date
    string='Stop Date'
  • name Char
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • code Char
    required=True
  • name Char
  • triangulation Selection
    selection=[('A', 'A'), ('B', 'B'), ('C', 'C'), ('D', 'D'), ('E', 'E'), ('F', 'F'), ('G', 'G'), ('H', 'H')]
Public methods (0)

No public methods.

New fields (3)
  • code Char
    required=True
  • name Char
  • nature_parent_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True
  • name Char
Public methods (0)

No public methods.

New fields (32)
  • additional_units Float
  • additional_units_uom Char
    readonly=True related='intrastat_code_id.additional_unit_uom_id.name' string='Additional Unit of Measure'
  • amount_currency Float
    digits='Account' string='Amount in Currency'
  • amount_euro Float
    compute='_compute_amount_euro' digits='Account' readonly=True store=True string='Amount in Euro'
  • company_id Many2one
    index=True precompute=True readonly=True related='invoice_id.company_id' store=True
  • country_destination_id Many2one → res.country
    comodel_name='res.country' string='Destination Country'
  • country_good_origin_id Many2one → res.country
    comodel_name='res.country' string='Goods Origin Country'
  • country_origin_id Many2one → res.country
    comodel_name='res.country' string='Provenance Country'
  • country_partner_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_data' readonly=True store=True string='Partner State'
  • country_payment_id Many2one → res.country
    comodel_name='res.country' string='Payment Country'
  • currency_rate Float
    readonly=True
  • delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Delivery Terms'
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' required=True string='Nomenclature Code'
  • intrastat_code_type Selection
    default='good' required=True selection=[('service', 'Service'), ('good', 'Goods')] string='Code Type'
  • intrastat_type_data Selection
    default='all' required=True selection=[('all', 'All (Fiscal and Statistic)'), ('fiscal', 'Fiscal'), ('statistic', 'Statistic')] string='Data Type'
  • invoice_date Date
    compute='_compute_invoice_ref' store=True
  • invoice_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' required=True string='Invoice'
  • invoice_number Char
    compute='_compute_invoice_ref' store=True
  • invoice_type Selection
    readonly=True related='invoice_id.move_type' store=False string='Invoice Type'
  • partner_id Many2one
    readonly=True related='invoice_id.partner_id' store=True string='Partner'
  • payment_method Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')]
  • province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • show_weight Boolean
    default=True string='Display weight in declaration'
  • statement_section Selection
    compute='_compute_statement_section' selection=[('sale_s1', 'Sales section 1'), ('sale_s2', 'Sales section 2'), ('sale_s3', 'Sales section 3'), ('sale_s4', 'Sales section 4'), ('purchase_s1', 'Purchases section 1'), ('purchase_s2', 'Purchases section 2'), ('purchase_s3', 'Purchases section 3'), ('purchase_s4', 'Purchases section 4')]
  • statistic_amount_euro Float
    digits='Account' string='Statistic Value in Euro'
  • supply_method Selection
    selection=[('I', 'Instant'), ('R', 'Repeated')]
  • transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Transaction Nature B'
  • transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
  • transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Transport Mode'
  • triangulation Boolean
    default=False
  • weight_kg Float
    string='Net Mass (kg)'
Public methods (5)
  • change_amount_euro(self)
    @api.onchange('amount_euro')
  • change_intrastat_code_type(self)
    @api.onchange('intrastat_code_type')
  • change_weight_kg(self)
    @api.onchange('weight_kg')
  • compute_statement_section(self, intrastat_code_type, invoice_type)
    @api.model
  • name_get(self)

New fields (2)
  • intrastat Boolean
    copy=False states={'draft': [('readonly', False)]} string='Subject to Intrastat'
  • intrastat_line_ids One2many → account.invoice.intrastat
    comodel_name='account.invoice.intrastat' copy=False inverse_name='invoice_id' readonly=True states={'draft': [('readonly', False)]} string='Intrastat'
Public methods (4)
  • action_post(self)
  • change_fiscal_position(self)
    @api.onchange('fiscal_position_id')
  • compute_intrastat_lines(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intrastat_code Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    string='Nomenclature Code' args: 'report.intrastat.code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    args: [('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' string='Intrastat Code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    selection=[('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (1)
  • get_intrastat_data(self)
    The intrastat code with the following priority: - Intrastat Code on product template - Intrastat Code on product category

New fields (7)
  • active Boolean
    default=True
  • additional_unit_from Selection
    selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit of Measure from'
  • additional_unit_required Boolean
    string='Additional Unit of Measure Required'
  • additional_unit_uom_id Many2one → uom.uom
    comodel_name='uom.uom' string='Additional Unit of Measure'
  • description Char
    translate=True
  • name Char
    string='Intrastat Code'
  • type Selection
    selection=[('good', 'Goods'), ('service', 'Service')]
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (21)
  • intrastat_additional_unit_from Selection
    default='weight' selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit from'
  • intrastat_delegated_name Char
    string='Delegate'
  • intrastat_delegated_vat Char
    string='Delegate VAT number'
  • intrastat_exclude_free_line Boolean
    string='Exclude Free lines'
  • intrastat_export_file_name Char
    string='File name for export'
  • intrastat_min_amount Float
    default=1.0 help="In case of invoices < 'Min amount', use min amount in Intrastat statement" string='Min amount'
  • intrastat_purchase_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Purchases Delivery Terms'
  • intrastat_purchase_province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • intrastat_purchase_statistic_amount Boolean
    string='Purchases Statistic Value in Euro'
  • intrastat_purchase_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Purchases Transaction Nature B'
  • intrastat_purchase_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Purchases Transaction Nature'
  • intrastat_purchase_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Purchases Transport Mode'
  • intrastat_sale_country_origin_id Many2one → res.country
    comodel_name='res.country' string='Origin Country'
  • intrastat_sale_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Sales Delivery Terms'
  • intrastat_sale_province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • intrastat_sale_statistic_amount Boolean
    string='Sales Statistic Value in Euro'
  • intrastat_sale_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Sales Transaction Nature B'
  • intrastat_sale_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Sales Transaction Nature'
  • intrastat_sale_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Sales Transport Mode'
  • intrastat_ua_code Char
    string='User ID (UA Code)'
  • intrastat_uom_kg_id Many2one → uom.uom
    comodel_name='uom.uom' string='Unit of Measure for Kg'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • intrastat_validate(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_intrastat
VERSION
VERSION 1.6.1
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
COMMITTERS
COMMITTERSeLBati, tafaRU, OCA Transbot, Weblate, OCA-git-bot, SimoRubi, sergiocorato, oca-ci, Giovanni, Alessandro Uffreduzzi, Marco Colombo, michelerusti, Borruso, PicchiSeba
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_widget_char_size
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - stock_account
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (20)
XML IDNameModelTypeStatus
account_intrastat_custom_view_form account.intrastat.custom.view.form account.intrastat.custom form New
account_intrastat_custom_view_tree account.intrastat.custom.view.tree account.intrastat.custom tree New
account_intrastat_invoice_form account.intrastat.invoice.form account.move xpath Inherits account.view_move_form
account_intrastat_payment_term_form_view account.intrastat.payment.term.form.view account.payment.term xpath Inherits account.view_payment_term_form
account_intrastat_transaction_nature_b_view_form account.intrastat.transaction.nature.b.view.form account.intrastat.transaction.nature.b form New
account_intrastat_transaction_nature_b_view_tree account.intrastat.transaction.nature.b.view.tree account.intrastat.transaction.nature.b tree New
account_intrastat_transaction_nature_view_form account.intrastat.transaction.nature.view.form account.intrastat.transaction.nature form New
account_intrastat_transaction_nature_view_tree account.intrastat.transaction.nature.view.tree account.intrastat.transaction.nature tree New
account_intrastat_transport_view_form account.intrastat.transport.view.form account.intrastat.transport form New
account_intrastat_transport_view_tree account.intrastat.transport.view.tree account.intrastat.transport tree New
view_form_invoice_intrastat_form views.form.account.intrastat.invoice.intrastat account.invoice.intrastat form New
view_form_report_intrastat_code views.form.report.intrastat.code report.intrastat.code form New
view_instrastat_product_category_form intrastat.product.category.form product.category xpath Inherits product.product_category_form_view
view_instrastat_product_template_2_form intrastat.product.template.2.form product.template xpath Inherits account.product_template_form_view
view_intrastat_account_position_form intrastat.account.fiscal.position.form account.fiscal.position xpath Inherits account.view_account_position_form
view_intrastat_company_form view_form_intrastat_company res.company xpath Inherits base.view_company_form
view_invoice_intrastat_search invoice.intrastat.search account.invoice.intrastat search New
view_tree_invoice_intrastat_form views.tree.account.intrastat.invoice.intrastat account.invoice.intrastat tree New
view_tree_invoice_intrastat_report_tree account.intrastat.invoice.intrastat.report account.invoice.intrastat tree New
view_tree_report_intrastat_code views.tree.report.intrastat.code report.intrastat.code tree New
Models touched (14)

New fields (2)
  • intrastat_purchase Boolean
    string='Subject to Intrastat (purchases)'
  • intrastat_sale Boolean
    string='Subject to Intrastat (sales)'
Public methods (0)

No public methods.

New fields (4)
  • code Char
  • date_start Date
    string='Start Date'
  • date_stop Date
    string='Stop Date'
  • name Char
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • code Char
    required=True string='Code'
  • name Char
    string='Name'
  • triangulation Selection
    selection=[('A', 'A'), ('B', 'B'), ('C', 'C'), ('D', 'D'), ('E', 'E'), ('F', 'F'), ('G', 'G'), ('H', 'H')] string='Triangulation'
Public methods (0)

No public methods.

New fields (3)
  • code Char
    required=True string='Code'
  • name Char
    string='Name'
  • nature_parent_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True string='Code'
  • name Char
    string='Name'
Public methods (0)

No public methods.

New fields (31)
  • additional_units Float
    string='Additional Units'
  • additional_units_uom Char
    readonly=True related='intrastat_code_id.additional_unit_uom_id.name' string='Additional Unit of Measure'
  • amount_currency Float
    digits='Account' string='Amount in Currency'
  • amount_euro Float
    compute='_compute_amount_euro' digits='Account' readonly=True store=True string='Amount in Euro'
  • company_id Many2one
    readonly=True related='invoice_id.company_id' store=True
  • country_destination_id Many2one → res.country
    comodel_name='res.country' string='Destination Country'
  • country_good_origin_id Many2one → res.country
    comodel_name='res.country' string='Goods Origin Country'
  • country_origin_id Many2one → res.country
    comodel_name='res.country' string='Provenance Country'
  • country_partner_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_data' readonly=True store=True string='Partner State'
  • country_payment_id Many2one → res.country
    comodel_name='res.country' string='Payment Country'
  • delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Delivery Terms'
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' required=True string='Nomenclature Code'
  • intrastat_code_type Selection
    default='good' required=True selection=[('service', 'Service'), ('good', 'Goods')] string='Code Type'
  • intrastat_type_data Selection
    default='all' required=True selection=[('all', 'All (Fiscal and Statistic)'), ('fiscal', 'Fiscal'), ('statistic', 'Statistic')] string='Data Type'
  • invoice_date Date
    compute='_compute_invoice_ref' store=True string='Invoice Date'
  • invoice_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' required=True string='Invoice'
  • invoice_number Char
    compute='_compute_invoice_ref' store=True string='Invoice Number'
  • invoice_type Selection
    readonly=True related='invoice_id.move_type' store=False string='Invoice Type'
  • partner_id Many2one
    readonly=True related='invoice_id.partner_id' store=True string='Partner'
  • payment_method Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
  • province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • show_weight Boolean
    default=True string='Display weight in declaration'
  • statement_section Selection
    compute='_compute_statement_section' selection=[('sale_s1', 'Sales section 1'), ('sale_s2', 'Sales section 2'), ('sale_s3', 'Sales section 3'), ('sale_s4', 'Sales section 4'), ('purchase_s1', 'Purchases section 1'), ('purchase_s2', 'Purchases section 2'), ('purchase_s3', 'Purchases section 3'), ('purchase_s4', 'Purchases section 4')] string='Statement Section'
  • statistic_amount_euro Float
    digits='Account' string='Statistic Value in Euro'
  • supply_method Selection
    selection=[('I', 'Instant'), ('R', 'Repeated')] string='Supply Method'
  • transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Transaction Nature B'
  • transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
  • transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Transport Mode'
  • triangulation Boolean
    default=False string='Triangulation'
  • weight_kg Float
    string='Net Mass (kg)'
Public methods (5)
  • change_amount_euro(self)
    @api.onchange('amount_euro')
  • change_intrastat_code_type(self)
    @api.onchange('intrastat_code_type')
  • change_weight_kg(self)
    @api.onchange('weight_kg')
  • compute_statement_section(self, intrastat_code_type, invoice_type)
    @api.model
  • name_get(self)

New fields (2)
  • intrastat Boolean
    copy=False states={'draft': [('readonly', False)]} string='Subject to Intrastat'
  • intrastat_line_ids One2many → account.invoice.intrastat
    comodel_name='account.invoice.intrastat' copy=False inverse_name='invoice_id' readonly=True states={'draft': [('readonly', False)]} string='Intrastat'
Public methods (4)
  • action_post(self)
  • change_fiscal_position(self)
    @api.onchange('fiscal_position_id')
  • compute_intrastat_lines(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intrastat_code Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    string='Nomenclature Code' args: 'report.intrastat.code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    string='Intrastat Type' args: [('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (0)

No public methods.

New fields (3)
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' string='Intrastat Code'
  • intrastat_country_origin_id Many2one → res.country
    string='Origin Country' args: 'res.country'
  • intrastat_type Selection
    selection=[('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')] string='Intrastat Type'
Public methods (1)
  • get_intrastat_data(self)
    The intrastat code with the following priority: - Intrastat Code on product template - Intrastat Code on product category

New fields (7)
  • active Boolean
    default=True
  • additional_unit_from Selection
    selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit of Measure from'
  • additional_unit_required Boolean
    string='Additional Unit of Measure Required'
  • additional_unit_uom_id Many2one → uom.uom
    comodel_name='uom.uom' string='Additional Unit of Measure'
  • description Char
    string='Description' translate=True
  • name Char
    string='Intrastat Code'
  • type Selection
    selection=[('good', 'Goods'), ('service', 'Service')]
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (21)
  • intrastat_additional_unit_from Selection
    default='weight' selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit from'
  • intrastat_delegated_name Char
    string='Delegate'
  • intrastat_delegated_vat Char
    string='Delegate VAT number'
  • intrastat_exclude_free_line Boolean
    string='Exclude Free lines'
  • intrastat_export_file_name Char
    string='File name for export'
  • intrastat_min_amount Float
    default=1.0 help="In case of invoices < 'Min amount', use min amount in Intrastat statement" string='Min amount'
  • intrastat_purchase_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Purchases Delivery Terms'
  • intrastat_purchase_province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • intrastat_purchase_statistic_amount Boolean
    string='Purchases Statistic Value in Euro'
  • intrastat_purchase_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Purchases Transaction Nature B'
  • intrastat_purchase_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Purchases Transaction Nature'
  • intrastat_purchase_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Purchases Transport Mode'
  • intrastat_sale_country_origin_id Many2one → res.country
    comodel_name='res.country' string='Origin Country'
  • intrastat_sale_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Sales Delivery Terms'
  • intrastat_sale_province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • intrastat_sale_statistic_amount Boolean
    string='Sales Statistic Value in Euro'
  • intrastat_sale_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Sales Transaction Nature B'
  • intrastat_sale_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Sales Transaction Nature'
  • intrastat_sale_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Sales Transport Mode'
  • intrastat_ua_code Char
    string='User ID (UA Code)'
  • intrastat_uom_kg_id Many2one → uom.uom
    comodel_name='uom.uom' string='Unit of Measure for Kg'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • intrastat_validate(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_intrastat
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl, Powerp network
COMMITTERS
COMMITTERSeLBati, GitHub, Stéphane Bidoul (ACSONE), Sergio Zanchetta, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, sergiocorato, Simone Rubino, Lara Baggio, gprina
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/12.0/l10n_it_intrastat
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (21)
XML IDNameModelTypeStatus
account_intrastat_custom_view_form account.intrastat.custom.view.form account.intrastat.custom form New
account_intrastat_custom_view_tree account.intrastat.custom.view.tree account.intrastat.custom tree New
account_intrastat_invoice_form account.intrastat.invoice.form account.invoice xpath Inherits account.invoice_form
account_intrastat_invoice_supplier_form account.intrastat.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
account_intrastat_payment_term_form_view account.intrastat.payment.term.form.view account.payment.term xpath Inherits account.view_payment_term_form
account_intrastat_transaction_nature_b_view_form account.intrastat.transaction.nature.b.view.form account.intrastat.transaction.nature.b form New
account_intrastat_transaction_nature_b_view_tree account.intrastat.transaction.nature.b.view.tree account.intrastat.transaction.nature.b tree New
account_intrastat_transaction_nature_view_form account.intrastat.transaction.nature.view.form account.intrastat.transaction.nature form New
account_intrastat_transaction_nature_view_tree account.intrastat.transaction.nature.view.tree account.intrastat.transaction.nature tree New
account_intrastat_transport_view_form account.intrastat.transport.view.form account.intrastat.transport form New
account_intrastat_transport_view_tree account.intrastat.transport.view.tree account.intrastat.transport tree New
view_form_invoice_intrastat_form views.form.account.intrastat.invoice.intrastat account.invoice.intrastat form New
view_form_report_intrastat_code views.form.report.intrastat.code report.intrastat.code form New
view_instrastat_product_category_form intrastat.product.category.form product.category xpath Inherits product.product_category_form_view
view_instrastat_product_template_2_form intrastat.product.template.2.form product.template xpath Inherits account.product_template_form_view
view_intrastat_account_position_form intrastat.account.fiscal.position.form account.fiscal.position xpath Inherits account.view_account_position_form
view_intrastat_company_form view_form_intrastat_company res.company xpath Inherits base.view_company_form
view_invoice_intrastat_search invoice.intrastat.search account.invoice.intrastat search New
view_tree_invoice_intrastat_form views.tree.account.intrastat.invoice.intrastat account.invoice.intrastat tree New
view_tree_invoice_intrastat_report_tree account.intrastat.invoice.intrastat.report account.invoice.intrastat tree New
view_tree_report_intrastat_code views.tree.report.intrastat.code report.intrastat.code tree New
Models touched (15)

New fields (1)
  • intrastat Boolean
    string='Subject to Intrastat'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    size=6
  • date_start Date
    string='Start Date'
  • date_stop Date
    string='Stop Date'
  • name Char
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • code Char
    required=True size=1 string='Code'
  • name Char
    string='Name'
  • triangulation Selection
    selection=[('A', 'A'), ('B', 'B'), ('C', 'C'), ('D', 'D'), ('E', 'E'), ('F', 'F'), ('G', 'G'), ('H', 'H')] string='Triangulation'
Public methods (0)

No public methods.

New fields (3)
  • code Char
    required=True size=1 string='Code'
  • name Char
    string='Name'
  • nature_parent_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True size=1 string='Code'
  • name Char
    string='Name'
Public methods (0)

No public methods.

New fields (2)
  • intrastat Boolean
    copy=False states={'draft': [('readonly', False)]} string='Subject to Intrastat'
  • intrastat_line_ids One2many → account.invoice.intrastat
    comodel_name='account.invoice.intrastat' copy=False inverse_name='invoice_id' readonly=True states={'draft': [('readonly', False)]} string='Intrastat'
Public methods (3)
  • action_move_create(self)
    @api.multi
  • change_fiscal_position(self)
    @api.onchange('fiscal_position_id')
  • compute_intrastat_lines(self)
    @api.multi

New fields (29)
  • additional_units Float
    string='Additional Units'
  • additional_units_uom Char
    readonly=True related='intrastat_code_id.additional_unit_uom_id.name' string='Additional Unit of Measure'
  • amount_currency Float
    digits=dp.get_precision('Account') string='Amount in Currency'
  • amount_euro Float
    compute='_compute_amount_euro' digits=dp.get_precision('Account') readonly=True store=True string='Amount in Euro'
  • country_destination_id Many2one → res.country
    comodel_name='res.country' string='Destination Country'
  • country_good_origin_id Many2one → res.country
    comodel_name='res.country' string='Goods Origin Country'
  • country_origin_id Many2one → res.country
    comodel_name='res.country' string='Provenance Country'
  • country_partner_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_data' readonly=True store=True string='Partner State'
  • country_payment_id Many2one → res.country
    comodel_name='res.country' string='Payment Country'
  • delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Delivery Terms'
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' required=True string='Nomenclature Code'
  • intrastat_code_type Selection
    default='good' required=True selection=[('service', 'Service'), ('good', 'Goods')] string='Code Type'
  • intrastat_type_data Selection
    default='all' required=True selection=[('all', 'All (Fiscal and Statistic)'), ('fiscal', 'Fiscal'), ('statistic', 'Statistic')] string='Data Type'
  • invoice_date Date
    compute='_compute_invoice_ref' store=True string='Invoice Date'
  • invoice_id Many2one → account.invoice
    comodel_name='account.invoice' ondelete='cascade' required=True string='Invoice'
  • invoice_number Char
    compute='_compute_invoice_ref' store=True string='Invoice Number'
  • invoice_type Selection
    readonly=True related='invoice_id.type' store=False string='Invoice Type'
  • partner_id Many2one
    readonly=True related='invoice_id.partner_id' store=True string='Partner'
  • payment_method Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
  • province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • statement_section Selection
    compute='_compute_statement_section' selection=[('sale_s1', 'Sales section 1'), ('sale_s2', 'Sales section 2'), ('sale_s3', 'Sales section 3'), ('sale_s4', 'Sales section 4'), ('purchase_s1', 'Purchases section 1'), ('purchase_s2', 'Purchases section 2'), ('purchase_s3', 'Purchases section 3'), ('purchase_s4', 'Purchases section 4')] string='Statement Section'
  • statistic_amount_euro Float
    digits=dp.get_precision('Account') string='Statistic Value in Euro'
  • supply_method Selection
    selection=[('I', 'Instant'), ('R', 'Repeated')] string='Supply Method'
  • transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Transaction Nature B'
  • transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
  • transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Transport Mode'
  • triangulation Boolean
    default=False string='Triangulation'
  • weight_kg Float
    string='Net Mass (kg)'
Public methods (5)
  • change_amount_euro(self)
    @api.onchange('amount_euro')
  • change_intrastat_code_type(self)
    @api.onchange('intrastat_code_type')
  • change_weight_kg(self)
    @api.onchange('weight_kg')
  • compute_statement_section(self, intrastat_code_type, invoice_type)
    @api.model
  • name_get(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intrastat_code Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
Public methods (0)

No public methods.

New fields (2)
  • intrastat_code_id Many2one → report.intrastat.code
    string='Nomenclature Code' args: 'report.intrastat.code'
  • intrastat_type Selection
    string='Intrastat Type' args: [('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (0)

No public methods.

New fields (2)
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' string='Intrastat Code'
  • intrastat_type Selection
    selection=[('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')] string='Intrastat Type'
Public methods (1)
  • get_intrastat_data(self)
    The intrastat code with the following priority: - Intrastat Code on product template - Intrastat Code on product category

New fields (7)
  • active Boolean
    default=True
  • additional_unit_from Selection
    selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit of Measure from'
  • additional_unit_required Boolean
    string='Additional Unit of Measure Required'
  • additional_unit_uom_id Many2one → uom.uom
    comodel_name='uom.uom' string='Additional Unit of Measure'
  • description Char
    string='Description' translate=True
  • name Char
    string='Intrastat Code'
  • type Selection
    selection=[('good', 'Goods'), ('service', 'Service')]
Public methods (2)
  • name_get(self)
    @api.multi
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (21)
  • intrastat_additional_unit_from Selection
    default='weight' selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit from'
  • intrastat_delegated_name Char
    size=255 string='Delegate'
  • intrastat_delegated_vat Char
    size=16 string='Delegate VAT number'
  • intrastat_exclude_free_line Boolean
    string='Exclude Free lines'
  • intrastat_export_file_name Char
    string='File name for export'
  • intrastat_min_amount Float
    default=1.0 help="In case of invoices < 'Min amount', use min amount in Intrastat statement" string='Min amount'
  • intrastat_purchase_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Purchases Delivery Terms'
  • intrastat_purchase_province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • intrastat_purchase_statistic_amount Boolean
    string='Purchases Statistic Value in Euro'
  • intrastat_purchase_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Purchases Transaction Nature B'
  • intrastat_purchase_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Purchases Transaction Nature'
  • intrastat_purchase_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Purchases Transport Mode'
  • intrastat_sale_country_origin_id Many2one → res.country
    comodel_name='res.country' string='Origin Country'
  • intrastat_sale_delivery_code_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Sales Delivery Terms'
  • intrastat_sale_province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • intrastat_sale_statistic_amount Boolean
    string='Sales Statistic Value in Euro'
  • intrastat_sale_transaction_nature_b_id Many2one → account.intrastat.transaction.nature.b
    comodel_name='account.intrastat.transaction.nature.b' string='Sales Transaction Nature B'
  • intrastat_sale_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Sales Transaction Nature'
  • intrastat_sale_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Sales Transport Mode'
  • intrastat_ua_code Char
    size=4 string='User ID (UA Code)'
  • intrastat_uom_kg_id Many2one → uom.uom
    comodel_name='uom.uom' string='Unit of Measure for Kg'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • intrastat_validate(self)
    @api.multi

New fields (0)

No new fields.

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_intrastat
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Openforce, Link IT srl
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, simonev
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/10.0/l10n_it_intrastat
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
    - report_intrastat
    - delivery
    - sale_stock
    - stock_account
    - stock
    - barcodes
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (19)
XML IDNameModelTypeStatus
account_intrastat_custom_view_form account.intrastat.custom.view.form account.intrastat.custom form New
account_intrastat_custom_view_tree account.intrastat.custom.view.tree account.intrastat.custom tree New
account_intrastat_invoice_form account.intrastat.invoice.form account.invoice xpath Inherits account.invoice_form
account_intrastat_invoice_supplier_form account.intrastat.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
account_intrastat_payment_term_form_view account.intrastat.payment.term.form.view account.payment.term xpath Inherits account.view_payment_term_form
account_intrastat_transaction_nature_view_form account.intrastat.transaction.nature.view.form account.intrastat.transaction.nature form New
account_intrastat_transaction_nature_view_tree account.intrastat.transaction.nature.view.tree account.intrastat.transaction.nature tree New
account_intrastat_transport_view_form account.intrastat.transport.view.form account.intrastat.transport form New
account_intrastat_transport_view_tree account.intrastat.transport.view.tree account.intrastat.transport tree New
view_form_invoice_intrastat_form views.form.account.intrastat.invoice.intrastat account.invoice.intrastat form New
view_form_report_intrastat_code views.form.report.intrastat.code report.intrastat.code form Inherits report_intrastat.view_report_intrastat_code_form
view_instrastat_product_category_form intrastat.product.category.form product.category xpath Inherits product.product_category_form_view
view_instrastat_product_template_2_form intrastat.product.template.2.form product.template xpath Inherits account.product_template_form_view
view_intrastat_account_position_form intrastat.account.fiscal.position.form account.fiscal.position xpath Inherits account.view_account_position_form
view_intrastat_company_form view_form_intrastat_company res.company xpath Inherits base.view_company_form
view_invoice_intrastat_search invoice.intrastat.search account.invoice.intrastat search New
view_tree_invoice_intrastat_form views.tree.account.intrastat.invoice.intrastat account.invoice.intrastat tree New
view_tree_invoice_intrastat_report_tree account.intrastat.invoice.intrastat.report account.invoice.intrastat tree New
view_tree_report_intrastat_code views.tree.report.intrastat.code report.intrastat.code tree Inherits report_intrastat.view_report_intrastat_code_tree
Models touched (13)

New fields (1)
  • intrastat Boolean
    string='Subject to Intrastat'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    size=6
  • date_start Date
    string='Start Date'
  • date_stop Date
    string='Stop Date'
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True size=1 string='Code'
  • name Char
    string='Name'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True size=1 string='Code'
  • name Char
    string='Name'
Public methods (0)

No public methods.

New fields (2)
  • intrastat Boolean
    copy=False states={'draft': [('readonly', False)]} string='Subject to Intrastat'
  • intrastat_line_ids One2many → account.invoice.intrastat
    comodel_name='account.invoice.intrastat' copy=False inverse_name='invoice_id' readonly=True states={'draft': [('readonly', False)]} string='Intrastat'
Public methods (3)
  • action_move_create(self)
    @api.multi
  • change_fiscal_position(self)
    @api.onchange('fiscal_position_id')
  • compute_intrastat_lines(self)
    @api.multi

New fields (26)
  • additional_units Float
    string='Additional Units'
  • additional_units_uom Char
    readonly=True related='intrastat_code_id.additional_unit_uom_id.name' string='Additional Unit of Measure'
  • amount_currency Float
    digits=dp.get_precision('Account') string='Amount in Currency'
  • amount_euro Float
    compute='_compute_amount_euro' digits=dp.get_precision('Account') readonly=True store=True string='Amount in Euro'
  • country_destination_id Many2one → res.country
    comodel_name='res.country' string='Destination Country'
  • country_good_origin_id Many2one → res.country
    comodel_name='res.country' string='Goods Origin Country'
  • country_origin_id Many2one → res.country
    comodel_name='res.country' string='Provenance Country'
  • country_partner_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_data' readonly=True store=True string='Partner State'
  • country_payment_id Many2one → res.country
    comodel_name='res.country' string='Payment Country'
  • delivery_code_id Many2one → stock.incoterms
    comodel_name='stock.incoterms' string='Delivery Terms'
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' required=True string='Nomenclature Code'
  • intrastat_code_type Selection
    default='good' required=True selection=[('service', 'Service'), ('good', 'Goods')] string='Code Type'
  • intrastat_type_data Selection
    default='all' required=True selection=[('all', 'All (Fiscal and Statistic)'), ('fiscal', 'Fiscal'), ('statistic', 'Statistic')] string='Data Type'
  • invoice_date Date
    compute='_compute_invoice_ref' store=True string='Invoice Date'
  • invoice_id Many2one → account.invoice
    comodel_name='account.invoice' required=True string='Invoice'
  • invoice_number Char
    compute='_compute_invoice_ref' store=True string='Invoice Number'
  • partner_id Many2one
    readonly=True related='invoice_id.partner_id' store=True string='Partner'
  • payment_method Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
  • province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • statement_section Selection
    compute='_get_statement_section' selection=[('sale_s1', 'Sales section 1'), ('sale_s2', 'Sales section 2'), ('sale_s3', 'Sales section 3'), ('sale_s4', 'Sales section 4'), ('purchase_s1', 'Purchases section 1'), ('purchase_s2', 'Purchases section 2'), ('purchase_s3', 'Purchases section 3'), ('purchase_s4', 'Purchases section 4')] string='Statement Section'
  • statistic_amount_euro Float
    digits=dp.get_precision('Account') string='Statistic Value in Euro'
  • supply_method Selection
    selection=[('I', 'Instant'), ('R', 'Repeated')] string='Supply Method'
  • transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Transaction Nature'
  • transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Transport Mode'
  • weight_kg Float
    string='Net Mass (kg)'
Public methods (5)
  • change_amount_euro(self)
    @api.onchange('amount_euro')
  • change_intrastat_code_type(self)
    @api.onchange('intrastat_code_type')
  • change_weight_kg(self)
    @api.onchange('weight_kg')
  • compute_statement_section(self, intrastat_code_type, invoice_type)
    @api.model
  • name_get(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • intrastat_code Selection
    selection=[('B', 'Bank Transfer'), ('A', 'Credit'), ('X', 'Other')] string='Payment Method'
Public methods (0)

No public methods.

New fields (2)
  • intrastat_code_id Many2one → report.intrastat.code
    string='Nomenclature Code' args: 'report.intrastat.code'
  • intrastat_type Selection
    string='Intrastat Type' args: [('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')]
Public methods (0)

No public methods.

New fields (2)
  • intrastat_code_id Many2one → report.intrastat.code
    comodel_name='report.intrastat.code' string='Intrastat Code'
  • intrastat_type Selection
    selection=[('good', 'Goods'), ('service', 'Service'), ('misc', 'Miscellaneous'), ('exclude', 'Exclude')] string='Intrastat Type'
Public methods (1)
  • get_intrastat_data(self)
    The intrastat code with the following priority: - Intrastat Code on product template - Intrastat Code on product category

New fields (6)
  • active Boolean
    default=True
  • additional_unit_from Selection
    selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit of Measure from'
  • additional_unit_required Boolean
    string='Additional Unit of Measure Required'
  • additional_unit_uom_id Many2one → product.uom
    comodel_name='product.uom' string='Additional Unit of Measure'
  • description Char
    translate=True
  • type Selection
    selection=[('good', 'Goods'), ('service', 'Service')]
Public methods (0)

No public methods.

New fields (18)
  • intrastat_additional_unit_from Selection
    default='weight' selection=[('quantity', 'Quantity'), ('weight', 'Weight'), ('none', 'None')] string='Additional Unit from'
  • intrastat_delegated_name Char
    size=255 string='Delegate'
  • intrastat_delegated_vat Char
    size=16 string='Delegate VAT number'
  • intrastat_exclude_free_line Boolean
    string='Exclude Free lines'
  • intrastat_export_file_name Char
    string='File name for export'
  • intrastat_min_amount Float
    default=1.0 help="In case of invoices < 'Min amount', use min amount in Intrastat statement" string='Min amount'
  • intrastat_purchase_delivery_code_id Many2one → stock.incoterms
    comodel_name='stock.incoterms' string='Purchases Delivery Terms'
  • intrastat_purchase_province_destination_id Many2one → res.country.state
    comodel_name='res.country.state' string='Destination Province'
  • intrastat_purchase_statistic_amount Boolean
    string='Purchases Statistic Value in Euro'
  • intrastat_purchase_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Purchases Transaction Nature'
  • intrastat_purchase_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Purchases Transport Mode'
  • intrastat_sale_delivery_code_id Many2one → stock.incoterms
    comodel_name='stock.incoterms' string='Sales Delivery Terms'
  • intrastat_sale_province_origin_id Many2one → res.country.state
    comodel_name='res.country.state' string='Origin Province'
  • intrastat_sale_statistic_amount Boolean
    string='Sales Statistic Value in Euro'
  • intrastat_sale_transaction_nature_id Many2one → account.intrastat.transaction.nature
    comodel_name='account.intrastat.transaction.nature' string='Sales Transaction Nature'
  • intrastat_sale_transport_code_id Many2one → account.intrastat.transport
    comodel_name='account.intrastat.transport' string='Sales Transport Mode'
  • intrastat_ua_code Char
    size=4 string='User ID (UA Code)'
  • intrastat_uom_kg_id Many2one → product.uom
    comodel_name='product.uom' string='Unit of Measure for Kg'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • intrastat_validate(self)
    @api.multi
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-italy
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_it_intrastat_oca: Migration to 19.0 (#5089)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-italy
PULL REQUEST
PULL REQUEST[19.0] porting l10n_it_intrastat (#5031)