Tools for Odoo Administrators to improve some technical features on Odoo.
 
 
 
 
Go to file
Luis González [Vauxoo] 8e0d78ea80 [FIX] company_country: Don't fail if account is already installed (#1786)
* [FIX] company_country: Don't fail if account is already installed

When `company_country` is installed, it performs the following:
- Look for the `COUNTRY` environment variable
- If not found, look for a `l10n_*` module that is about to be installed
- If not found, raise an exception

However, If the account module is installed, it shouldn't fail even if
the environment variable is not defined, because changing the
company's country will have no effect anyway, as the account hook was
already run and an `l10n` module was already been installed.

This commit fixes the above by skipping the process if the `account`
module is installed, and print an informative message to the log.

* Update __manifest__.py

Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>
2020-04-05 17:28:09 +00:00
auditlog Update translation files 2020-03-29 06:07:14 +00:00
base_cron_exclusion pre-commit update 2020-03-14 12:24:57 +01:00
base_jsonify pre-commit update 2020-03-14 12:24:57 +01:00
base_m2m_custom_field [UPD] README.rst 2020-03-29 06:07:02 +00:00
company_country [FIX] company_country: Don't fail if account is already installed (#1786) 2020-04-05 17:28:09 +00:00
onchange_helper [UPD] README.rst 2020-01-06 09:46:32 +00:00
setup [ADD] setup.py 2020-03-25 10:44:55 +00:00
.editorconfig pre-commit update 2020-03-14 12:24:57 +01:00
.eslintrc.yml pre-commit update 2020-03-14 12:24:57 +01:00
.flake8 pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.gitignore [MIG] Add metafiles 2019-09-29 23:47:44 +02:00
.isort.cfg pre-commit update 2020-03-14 12:24:57 +01:00
.pre-commit-config.yaml pre-commit update 2020-03-14 12:24:57 +01:00
.prettierrc.yml pre-commit update 2020-03-14 12:24:57 +01:00
.pylintrc pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.pylintrc-mandatory pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.travis.yml pre-commit update 2020-03-14 12:24:57 +01:00
LICENSE pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
README.md [MIG] Add metafiles 2019-09-29 23:47:44 +02:00

README.md

Runbot Status Build Status Coverage Status Code Climate

Server Environment And Tools

This project aim to deal with modules related to manage Odoo server environment and provide useful tools. You'll find modules that:

  • Manage configuration depending on environment (devs, test, prod,..)
  • Keep the security on update
  • Manage email settings

Contributing

Do you want to contribute? Please read our contributing guidelines.

Translation Status

Translation status