Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Localization
Folder size
15.16 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 05:03:19
Authors
Maintainers
None
Committers
Xavier Morel, Olivier Dony, Christophe Simonis, Martin Trigaux, Goffin Simon, Nicolas Martinelli, GitHub, Lucas Perais (lpe), Yannick Tivisse
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_be_intrastat_2019
Description
Generates Intrastat XML report for declaration
Based on invoices.
    

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
intra_view_transaction_form intra.view.transaction_form l10n_be_intrastat.transaction form New
intra_view_transaction_tree intra.view.transaction_tree l10n_be_intrastat.transaction tree New
intra_view_transport_mode_form intra.view.transport_mode_form l10n_be_intrastat.transport_mode form New
intra_view_transport_mode_tree intra.view.transport_mode_tree l10n_be_intrastat.transport_mode tree New
l10n_be_intrastat_xml_decl_cust_invoice_view l10n_be_intrastat_xml.custinvoice_form account.invoice form Inherits account.invoice_form
l10n_be_intrastat_xml_decl_invoice_line_view l10n_be_intrastat_xml.invoiceline_form account.invoice.line form Inherits account.view_invoice_line_form
l10n_be_intrastat_xml_decl_product_category_view l10n_be_intrastat_xml.productcategory_form product.category form Inherits product.product_category_form_view
l10n_be_intrastat_xml_decl_res_company_form_view l10n_be_intrastat_xml.rescompany_form res.company form Inherits base.view_company_form
l10n_be_intrastat_xml_decl_stock_warehouse_form_view l10n_be_intrastat_xml.stockwarehouse_form stock.warehouse form Inherits stock.view_warehouse
l10n_be_intrastat_xml_decl_supp_invoice_view l10n_be_intrastat_xml.suppinvoice_form account.invoice form Inherits account.invoice_supplier_form
view_intrastat_declaration_xml Intrastat XML Declaration l10n_be_intrastat_xml.xml_decl form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (13)

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Incoterm' args: 'stock.incoterms'
  • intrastat_country_id Many2one → res.country
    domain=[('intrastat', '=', True)] help='Intrastat country, delivery for sales, origin for purchases' string='Intrastat Country' args: 'res.country'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Intrastat Transport Mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (1)
  • intrastat_transaction_id Many2one → l10n_be_intrastat.transaction
    help='Intrastat nature of transaction' string='Intrastat Transaction Type' args: 'l10n_be_intrastat.transaction'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True
  • country_id Many2one → res.country
    string='Country' args: 'res.country'
  • description Char
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True
  • description Text
    readonly=True
Public methods (0)

No public methods.

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

No public methods.

New fields (8)
  • arrivals Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • dispatches Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • file_save Binary
    readonly=True string='Intrastat Report File'
  • month Selection
    default=_default_get_month required=True string='Month' args: [('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'), ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'), ('10', 'October'), ('11', 'November'), ('12', 'December')]
  • name Char
    default='intrastat.xml' string='File Name'
  • state Selection
    default='draft' args: [('draft', 'Draft'), ('download', 'Download')]
  • year Char
    default=_default_get_year required=True size=4
Public methods (1)
  • create_xml(self)
    @api.multi
    Creates xml that is to be exported and sent to estate for partner vat intra. :return: Value for next action. :rtype: dict

New fields (1)
  • intrastat_id Many2one → report.intrastat.code
    string='Intrastat Code' args: 'report.intrastat.code'
Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • description Text
    string='Description' translate=True
Public methods (0)

No public methods.

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Default incoterm for Intrastat' args: 'stock.incoterms'
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Default transport mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
Public methods (1)
  • get_regionid_from_locationid(self, location)

Loading…

Loading…

Loading…