Repository
OCA/l10n-luxemburg · module folder · Try on Runboat
Module version
1.1.0
Category
Accounting & Finance
Folder size
0.57 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://acsone.eu
Last tracking update
2026-08-07 07:03:15
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Stéphane Bidoul, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
OCA/l10n-luxemburg:
OCA/mis-builder:
OCA/reporting-engine:
odoo/odoo:
- web
- edi
Python dependencies
xlwt
System dependencies
None
Required by
None
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 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_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.