OdooWiki OCA HUB
Localisation License: AGPL-3

Apply French Chart of Account to main company when installed before account module.

To achieve this target current module set FR country base.main_company on partner.

Account module will do the rest of the job.

It has no effect if account module is already installed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Sets the country of the main company to France when installed, so that the French localisation can be applied automatically by the accounting module.

This is a small setup module with no screens, menus or buttons of its own. When it is installed, it simply changes one piece of company information: the country of the main company record (base.main_company) is set to France.

  • The change is applied through a data record on the company model (res.company), so it happens automatically at installation time.
  • The country value is taken from the standard France country record (base.fr).
  • The data is marked as not updated (noupdate), so the value is not overwritten on later module updates.

Why this matters: the accounting localisation module uses the company's country to decide which chart of accounts and localisation to install. By setting the country to France first, this module makes sure the French chart of accounts is applied to the main company when the accounting module is installed afterwards.

It has no effect if the accounting module is already installed, because the localisation would already have been chosen. It only depends on the base module and adds no new models, fields, reports, emails or scheduled actions. In short, it is a one-time configuration helper for French companies.

Depends on

base

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-france.

terminal Installation and usage

OCA documentation · Odoo 18.0

It's not mandatory but you may consider to use this module

and configure it to make current module auto installable as defined in the documentation.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.