eCDF annual reports
l10n_lu_ecdf · OCA/l10n-luxemburg
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 108 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.57 MB
Module directory on disk
Code analysis
5 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
EcdfReport— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (19 methods) migration-api-multi-one · sourceecdf_report_view— 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- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (6 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · 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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
ecdf_report_view |
eCDF Report | ecdf.report | form | New |
view_company_form |
res.company.form (l10n_lu_ecdf) | res.company | form | Inherits l10n_lu_ext.view_company_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (15)
-
company_registryCharsize=7 args: 'Company Registry' -
current_fiscyearMany2one → account.fiscalyearrequired=True args: 'account.fiscalyear', 'Current Fiscal Year' -
file_referenceCharcompute='_compute_file_reference'size=24 args: 'File name' -
full_file_nameCharsize=28 args: 'Full file name' -
languageSelectionrequired=True args: (('FR', 'FR'), ('DE', 'DE'), ('EN', 'EN')), 'Language' -
matriculeCharsize=13 args: 'Matricule' -
prev_fiscyearMany2one → account.fiscalyearargs: 'account.fiscalyear', 'Previous Fiscal Year' -
remarksTextargs: 'Comments' -
reports_typeSelectiondefault='full'readonly=Truerequired=True args: (('full', 'Full'), ('abbreviated', 'Abbreviated')), 'Reports Type' -
target_moveSelectiondefault='posted'required=Truestring='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')] -
vatCharsize=10 args: 'Tax ID' -
with_acBooleandefault=True args: 'Chart of Accounts' -
with_bsBooleandefault=True args: 'Balance Sheet' -
with_plBooleandefault=True args: 'Profit & Loss' -
xml_fileBinaryreadonly=True args: 'XML File'
-
check_matr(self)@api.multi@api.constrains('matricule')Constraint : lenght of Matricule must be 11 or 13 -
check_rcs(self)@api.multi@api.constrains('company_registry')Constraint : regex validation on RCS Number -
check_vat(self)@api.multi@api.constrains('vat')Constraint : regex validation on VAT Number -
compute(self, mis_template, fiscal_year)@api.multiCompute the values for a fiscal year, using the MIS Buildter template. :param mis_template: template MIS Builder of the report :param fiscal_year: fiscal year to compute :returns: list of dict(kpi_name, kpi_technical_name, val) -
get_ecdf_file_version()@staticmethod:returns: the XML file version -
get_interface()@staticmethod:returns: eCDF interface ID (provided by eCDF) -
get_language(self)@api.multi:returns: the selected language in the form. Values can be : - "FR" for french - "DE" for german - "EN" for english -
get_matr_agent(self)@api.multi:returns: Agent matricule provided in the form If no agent matricule provided, the company one is returned -
get_matr_declarer(self)@api.multi:returns: Luxemburg matricule of the company If no matricule, ValueError exception is raised -
get_rcs_agent(self)@api.multi:returns: RCS number (Numéro de registre de Commerce et des Sociétés) provided in the form. If no RCS number has been provided, the company one is returned If no RCS number of the company, default value 'NE' is returned -
get_rcs_declarer(self)@api.multi:returns: RCS number of the company, 7 characters If no RCS number, default value 'NE' is returned (RCS : 'Numéro de registre de Commerce et des Sociétés') -
get_vat_agent(self)@api.multi:returns: VAT number provided in the form. If no VAT number has been provided, the VAT number of the company is returned, without the two uppercase letters 'LU'. If no VAT number of the company, default value 'NE' is returned -
get_vat_declarer(self)@api.multi:returns: VAT number of the company, 8 characters, without the two uppercase letters 'LU' If no VAT number, default value 'NE' is returned -
print_xml(self)@api.multiGenerates the selected financial reports in XML format The string is written in the base64 field "xml_file"
New fields (1)
-
ecdf_prefixeCharsize=6 args: 'eCDF Prefix'
No public methods.