Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] ir_config_parameter_multi_company: hook to avoid error with CRM #763

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

SaraDForgeFlow
Copy link

When installing the ir_config_parameter_multi_company module, an error occurs if the crm module is already installed. The issue arises because the module tries to access the company_id column in the ir_config_parameter table, but this column does not exist. Error observed:

Captura desde 2025-01-30 10-14-26

To solve it, a hook is added to the ir_config_parameter_multi_company module to ensure that the company_id column exists before any code attempts to use it.

@OCA-git-bot
Copy link
Contributor

Hi @deniscraciungabriel, @eLBati,
some modules you are maintaining are being modified, check this out!

@SaraDForgeFlow SaraDForgeFlow force-pushed the 16.0-imp-ir_config_parameter_multi_company branch from e1c42af to 02926cc Compare January 30, 2025 09:54
@SaraDForgeFlow SaraDForgeFlow changed the title [IMP] ir_config_parameter_multi_company: hooks [FIX] ir_config_parameter_multi_company: hook to avoid error with CRM Jan 30, 2025
@eLBati
Copy link
Member

eLBati commented Jan 30, 2025

@SaraDForgeFlow please check #755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants