Skip to content

Conversation

@seb-odoo
Copy link
Contributor

@seb-odoo seb-odoo commented Jun 2, 2025

There is a condition for the ir_module_module to exist, but it is possible that while the module doesn't exist, the ir_model_data for this (module, name) do in fact exists, which leads to the unique key failing when attepting to insert these values again.

This was detected when upgrading from 11.0 to 18.0 in one run.

There is a condition for the ir_module_module to exist, but it is
possible that while the module doesn't exist, the ir_model_data for
this (module, name) do in fact exists, which leads to the unique key
failing when attepting to insert these values again.

This was detected when upgrading from 11.0 to 18.0 in one run.
@robodoo
Copy link
Contributor

robodoo commented Jun 2, 2025

Pull request status dashboard

@aj-fuentes
Copy link
Contributor

aj-fuentes commented Jun 3, 2025

Strange I'm currently working in unrelated issues in 11->12 upgrade, but we have never faced any issue in this part of the code. How are you running the upgrade?

@seb-odoo seb-odoo closed this Jun 10, 2025
@seb-odoo
Copy link
Contributor Author

seb-odoo commented Jun 10, 2025

As discussed, I was doing too many versions at once I think.

@seb-odoo seb-odoo deleted the master-lang-week--seb branch June 10, 2025 09:46
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