eCDF annual reports

l10n_lu_ecdf
REPOSITORY
REPOSITORYOCA/l10n-luxemburg
GIT
GIThttps://github.com/OCA/l10n-luxemburg.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-luxemburg/tree/8.0/l10n_lu_ecdf
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-luxemburg:
    - l10n_lu_ext
    - l10n_lu_mis_reports
OCA/mis-builder:
    - mis_builder
OCA/reporting-engine:
    - report_xls
odoo/odoo:
    - l10n_lu
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
ecdf_report_view eCDF Report ecdf.report form New
view_company_form res.company.form (l10n_lu_ecdf) res.company xpath Inherits l10n_lu_ext.view_company_form
Models touched (2)

New fields (15)
  • company_registry Char
    size=7 args: 'Company Registry'
  • current_fiscyear Many2one → account.fiscalyear
    required=True args: 'account.fiscalyear', 'Current Fiscal Year'
  • file_reference Char
    compute='_compute_file_reference' size=24 args: 'File name'
  • full_file_name Char
    size=28 args: 'Full file name'
  • language Selection
    required=True args: (('FR', 'FR'), ('DE', 'DE'), ('EN', 'EN')), 'Language'
  • matricule Char
    size=13 args: 'Matricule'
  • prev_fiscyear Many2one → account.fiscalyear
    args: 'account.fiscalyear', 'Previous Fiscal Year'
  • remarks Text
    args: 'Comments'
  • reports_type Selection
    default='full' readonly=True required=True args: (('full', 'Full'), ('abbreviated', 'Abbreviated')), 'Reports Type'
  • target_move Selection
    default='posted' required=True string='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
  • vat Char
    size=10 args: 'Tax ID'
  • with_ac Boolean
    default=True args: 'Chart of Accounts'
  • with_bs Boolean
    default=True args: 'Balance Sheet'
  • with_pl Boolean
    default=True args: 'Profit & Loss'
  • xml_file Binary
    readonly=True args: 'XML File'
Public methods (14)
  • 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.multi
    Compute 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.multi
    Generates the selected financial reports in XML format The string is written in the base64 field "xml_file"

New fields (1)
  • ecdf_prefixe Char
    size=6 args: 'eCDF Prefix'
Public methods (0)

No public methods.