Belgian Intrastat Declaration
l10n_be_intrastat · odoo/odoo
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 79 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
15.16 MB
Module directory on disk
Code analysis
5 migration notes
13 models
11 views
0 HTTP endpoints
Migration considerations
IntrastatRegion— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. (3 occurrences in this file) migration-sql-constraints · sourceProductCategory— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceXmlDeclaration— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceintra_view_transaction_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · sourceview_intrastat_declaration_xml— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Generates Intrastat XML report for declaration Based on invoices.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → stock.incotermshelp='International Commercial Terms are a series of predefined commercial terms used in international transactions.'string='Incoterm' args: 'stock.incoterms' -
intrastat_country_idMany2one → res.countrydomain=[('intrastat', '=', True)]help='Intrastat country, delivery for sales, origin for purchases'string='Intrastat Country' args: 'res.country' -
transport_mode_idMany2one → l10n_be_intrastat.transport_modestring='Intrastat Transport Mode' args: 'l10n_be_intrastat.transport_mode'
No public methods.
New fields (1)
-
intrastat_transaction_idMany2one → l10n_be_intrastat.transactionhelp='Intrastat nature of transaction'string='Intrastat Transaction Type' args: 'l10n_be_intrastat.transaction'
No public methods.
New fields (4)
-
codeCharrequired=True -
country_idMany2one → res.countrystring='Country' args: 'res.country' -
descriptionChar -
nameChartranslate=True
No public methods.
New fields (2)
-
codeCharreadonly=Truerequired=True -
descriptionTextreadonly=True
No public methods.
New fields (2)
-
codeCharreadonly=Truerequired=True -
nameCharreadonly=Truestring='Description'
No public methods.
New fields (8)
-
arrivalsSelectiondefault='be-standard'required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')] -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
dispatchesSelectiondefault='be-standard'required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')] -
file_saveBinaryreadonly=Truestring='Intrastat Report File' -
monthSelectiondefault=_default_get_monthrequired=Truestring='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')] -
nameChardefault='intrastat.xml'string='File Name' -
stateSelectiondefault='draft' args: [('draft', 'Draft'), ('download', 'Download')] -
yearChardefault=_default_get_yearrequired=Truesize=4
-
create_xml(self)@api.multiCreates 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_idMany2one → report.intrastat.codestring='Intrastat Code' args: 'report.intrastat.code'
-
get_intrastat_recursively(self)@api.multiRecursively search in categories to find an intrastat code id
New fields (0)
No new fields.
Public methods (1)-
get_intrastat_recursively(self)@api.multiRecursively search in categories to find an intrastat code id
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
descriptionTextstring='Description'translate=True
No public methods.
New fields (3)
-
incoterm_idMany2one → stock.incotermshelp='International Commercial Terms are a series of predefined commercial terms used in international transactions.'string='Default incoterm for Intrastat' args: 'stock.incoterms' -
region_idMany2one → l10n_be_intrastat.regionstring='Intrastat region' args: 'l10n_be_intrastat.region' -
transport_mode_idMany2one → l10n_be_intrastat.transport_modestring='Default transport mode' args: 'l10n_be_intrastat.transport_mode'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
region_idMany2one → l10n_be_intrastat.regionstring='Intrastat region' args: 'l10n_be_intrastat.region'
-
get_regionid_from_locationid(self, location)
Loading…
Loading…
Loading…