Intra-Community transactions declaration (ICP)
l10n_nl_intrastat · OCA/l10n-netherlands
Renamed to l10n_nl_tax_statement_icp in 11.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 99 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
4 migration notes
2 models
7 views
0 HTTP endpoints
Migration considerations
ReportIntrastat— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourcel10n_nl_intrastat_report_form— 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 · sourcel10n_nl_intrastat_report_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 · sourcel10n_nl_intrastat.internal_layout— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_specific |
assets_specific | ir.ui.view | qweb | Inherits report.assets_common |
l10n_nl_intrastat.internal_layout |
l10n_nl_intrastat.internal_layout | ir.ui.view | qweb | New |
l10n_nl_intrastat.report_nl_intrastat |
l10n_nl_intrastat.report_nl_intrastat | ir.ui.view | qweb | New |
l10n_nl_intrastat.report_nl_intrastat_filters |
l10n_nl_intrastat.report_nl_intrastat_filters | ir.ui.view | qweb | New |
l10n_nl_intrastat_report_form |
l10n_nl.report.intrastat | form | New | |
l10n_nl_intrastat_report_line_tree |
l10n_nl.report.intrastat.line | tree | New | |
l10n_nl_intrastat_report_tree |
l10n_nl.report.intrastat | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (10)
-
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
currency_idMany2onereadonly=Truerelated='company_id.currency_id'string='Currency' -
date_fromDaterequired=True -
date_range_idMany2one → date.rangeargs: 'date.range', 'Date range' -
date_toDaterequired=True -
last_updatedDatetimereadonly=True -
line_idsOne2many → l10n_nl.report.intrastat.linereadonly=Truestring='ICP line' args: 'l10n_nl.report.intrastat.line', 'report_id' -
stateSelectiondefault='draft'help="State of the declaration. When the state is set to 'Done', the parameters become read-only."readonly=Trueselection=[('draft', 'Draft'), ('done', 'Done')] -
total_amountMonetaryhelp='Total amount in company currency of the declaration.'readonly=Truestring='Total amount' -
year_monthCharcompute='_compute_year_month'help='Date range of the declaration.'readonly=Truestring='Period'
-
generate_lines(self)@api.multiCollect the data lines for the given report. Unlink any existing lines first. -
onchange_date_range_id(self)@api.onchange('date_range_id') -
set_done(self)@api.multiValidate and close report. -
set_draft(self)@api.multiReset report state to draft.
New fields (7)
-
amount_productMonetaryreadonly=Truestring='Amount products' -
amount_serviceMonetaryreadonly=Truestring='Amount services' -
country_codeCharreadonly=Truerelated='partner_id.country_id.code'store=True -
currency_idMany2onereadonly=Truerelated='report_id.company_id.currency_id'string='Currency' -
partner_idMany2one → res.partnercomodel_name='res.partner'readonly=Truerequired=Truestring='Partner' -
report_idMany2one → l10n_nl.report.intrastatcomodel_name='l10n_nl.report.intrastat'ondelete='cascade'readonly=Truerequired=Truestring='Report' -
vatCharreadonly=Truerelated='partner_id.vat'store=Truestring='VAT'
No public methods.
Loading…