From b39a5806d00865d712708075d6a74abf31365284 Mon Sep 17 00:00:00 2001 From: "Paolo (pgi)" Date: Wed, 26 May 2021 16:38:04 +0000 Subject: [PATCH] [ADD] l10n_fr_fec_import: added a module for import data from FEC A FEC file (Fichier des Ecritures Comptables) contains all the accounting data and entries recorded in all the accounting journals for a financial year. In order to make the onboarding of new users easier, Odoo Enterprise's French fiscal localization includes access to the ``l10n_fr_fec_import`` module, that enables the import of existing FEC files from older software to the Odoo database. The imported data are: * accounts * journals * partners * journal entries Every entity is imported with a generator that reads the values from each line, ready to be loaded. The entity (only accounts for the moment) is then completed with data from the CoA's templates and imported in the database. Journal entries are posted and reconciled. The Odoo branch implements the install checkbox in the Settings > Accounting page for an easy install. Task 2515785: https://www.odoo.com/web#id=2515785model=project.task Documentation PR: odoo/documentation#979 closes odoo/odoo#71290 Related: odoo/enterprise#16704 Signed-off-by: Quentin De Paoli (qdp) --- addons/account/models/res_config_settings.py | 2 ++ .../views/res_config_settings_views.xml | 20 +++++++++++++++++++ addons/l10n_fr_fec/__manifest__.py | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/addons/account/models/res_config_settings.py b/addons/account/models/res_config_settings.py index 88c746172b0..060a633e672 100644 --- a/addons/account/models/res_config_settings.py +++ b/addons/account/models/res_config_settings.py @@ -98,6 +98,8 @@ class ResConfigSettings(models.TransientModel): '-This installs the account_batch_payment module.') module_account_sepa = fields.Boolean(string='SEPA Credit Transfer (SCT)') module_account_sepa_direct_debit = fields.Boolean(string='Use SEPA Direct Debit') + module_l10n_fr_fec_import = fields.Boolean("Import FEC files", + help='Allows you to import FEC files.\n' '-This installs the l10n_fr_fec_import module.') module_account_bank_statement_import_qif = fields.Boolean("Import .qif files") module_account_bank_statement_import_ofx = fields.Boolean("Import in .ofx format") module_account_bank_statement_import_csv = fields.Boolean("Import in .csv format") diff --git a/addons/account/views/res_config_settings_views.xml b/addons/account/views/res_config_settings_views.xml index a133ddd0ad7..11c09196943 100644 --- a/addons/account/views/res_config_settings_views.xml +++ b/addons/account/views/res_config_settings_views.xml @@ -550,6 +550,26 @@ + + +

Accounting Import

+
+
+
+ +
+
+
+
+
+
+

Fiscal Periods

diff --git a/addons/l10n_fr_fec/__manifest__.py b/addons/l10n_fr_fec/__manifest__.py index a827ebdc149..7a438054ee2 100644 --- a/addons/l10n_fr_fec/__manifest__.py +++ b/addons/l10n_fr_fec/__manifest__.py @@ -4,7 +4,7 @@ # Copyright (C) 2013-2015 Akretion (http://www.akretion.com) { - 'name': 'France - FEC', + 'name': 'France - FEC Export', 'icon': '/l10n_fr/static/description/icon.png', 'category': 'Accounting/Localizations/Reporting', 'summary': "Fichier d'Échange Informatisé (FEC) for France",