Skip to content

[17.0][FIX] server_environment: make sure field name has no space#225

Merged
OCA-git-bot merged 1 commit into
OCA:17.0from
xcgd:bugfix/17.0/server_environment/no_space_in_column
Jun 4, 2025
Merged

[17.0][FIX] server_environment: make sure field name has no space#225
OCA-git-bot merged 1 commit into
OCA:17.0from
xcgd:bugfix/17.0/server_environment/no_space_in_column

Conversation

@vincent-hatakeyama
Copy link
Copy Markdown
Contributor

The issue happens when using mail_environment and creating a new base with a configuration file where the name of the outgoing_mail server contains a space.([outgoing_mail.aws mail] for example).
Odoo fails with a pg error, about ir_model_data constrains ir_model_data_name_nospaces not matched by “(7533, null, 2025-03-31 15:08:14.397798, 2025-03-31 15:08:14.397798, null, 1579, f, field_server_config__outgoing_mail_aws mail_smtp_host, server_environment, ir.model.fields)”.

It only happens when creating a new database, not when updating one.

Copy link
Copy Markdown
Contributor

@hparfr hparfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gurneyalex
Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-225-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 1d61e6e into OCA:17.0 Jun 4, 2025
2 of 3 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at f023936. Thanks a lot for contributing to OCA. ❤️

@vincent-hatakeyama vincent-hatakeyama deleted the bugfix/17.0/server_environment/no_space_in_column branch June 5, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants