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

Update 14.0 #5

Closed
wants to merge 1 commit into from
Closed

Update 14.0 #5

wants to merge 1 commit into from

Conversation

christophlsa
Copy link
Member

No description provided.

When updating the categories, if by any chance there is a loop in the
category hierarchy, the current code was falling into an infinite loop.

With this commit, the graph loop is broken by clearing a parent_id, and
if the resulting module category path is wrong, a clean new one will be
recreated anyway.

This allows unblocking uncomfortable situations where people cannot
update the modules list any more. In 15.0, [a check][1] has been
introduced to prevent the existence of recursive categories, but as it
is a python check it doesn't prevent corrupted data to remain corrupted.

OPW-3704007

Related to odoo/upgrade#5574

[1]: 6932714

closes #155709

Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
@borna-ng borna-ng force-pushed the jobrad-14.0 branch 4 times, most recently from 47f9e6f to 6a188c7 Compare October 16, 2024 07:53
@borna-ng borna-ng closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants