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

Migration from 15.0 to 16.0 m2x_options #2585

Open
wattnpapa opened this issue Aug 9, 2023 · 0 comments
Open

Migration from 15.0 to 16.0 m2x_options #2585

wattnpapa opened this issue Aug 9, 2023 · 0 comments
Labels

Comments

@wattnpapa
Copy link

Module

m2x_options

Describe the bug

During the upgrade Process from 15.0 to 16.0 on odoo.sh i got this error

2023-08-08 11:00:11,597 23 ERROR db_1078000 odoo.sql_db: bad query:
UPDATE m2x_create_edit_option t
SET field_id = r.new
FROM _upgrade_rrr r
WHERE r.old = t.field_id
AND t.id IS NOT NULL
ERROR: duplicate key value violates unique constraint "m2x_create_edit_option_model_field_uniqueness"
DETAIL: Key (field_id, model_id)=(6355, 501) already exists.

I am not sure why. When i take a look into the database via the console there is no database entry in the table m2x_create_edit_option

@wattnpapa wattnpapa added the bug label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant