Skip to main content

Set country to main company - DEPRECATED

Project description

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

Note: This module is not required anymore for Odoo >= 13.0, thanks to this fix introduced in Odoo.

This module allows to set a country to the main company before the account module is installed, so the hook of that module installs the correct l10n_*** module.

This is useful because, if the company isn’t already set correctly when the account module is installed, the generic accounting chart will be installed (l10n_generic_coa), which may be incorrect depending on your company’s country.

Table of contents


To install this module, you need to:

  1. Add it as dependency from your main module.


To configure this module, you need to:

  1. Set the environment variable COUNTRY using a two-letter ISO 3166 code.


To use this module, you need to:

  1. Just start the server installing your main module.

Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Vauxoo


Other credits



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

moylop260 luisg123v

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page