Skip to content

Conversation

@jjmaksoud
Copy link
Contributor

When renaming a model and updating related m2m fields, the relation table and its columns are renamed but only manual fields meta data is updated, assuming that base fields will be updated when the module loads.
The custom modules meta data should also be updated if the tables were updated.

upg-3176133

@robodoo
Copy link
Contributor

robodoo commented Oct 20, 2025

Pull request status dashboard

@jjmaksoud
Copy link
Contributor Author

upgradeci retry with always only base

@jjmaksoud jjmaksoud requested review from a team and Pirols October 20, 2025 13:03
Copy link
Contributor

@aj-fuentes aj-fuentes left a comment

Choose a reason for hiding this comment

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

Better check if there isn't any xmlid for the field under the available modules (standard_modules usual trick)

@jjmaksoud jjmaksoud force-pushed the master-rename-m2m-rels-maji branch from 230c1ff to eef47dd Compare October 31, 2025 14:57
When renaming a model and updating related m2m fields,
the relation table and its columns are renamed but only
manual fields meta data is updated, assuming that base
fields will be updated when the module loads.
The custom modules meta data should also be updated if
the tables were updated.
@jjmaksoud jjmaksoud force-pushed the master-rename-m2m-rels-maji branch from eef47dd to 220fed7 Compare October 31, 2025 14:59
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