Browse Source
* [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>12.0-mig-module_prototyper_last
Luis González [Vauxoo]
5 years ago
committed by
GitHub
4 changed files with 23 additions and 3 deletions
Loading…
Reference in new issue