Steps: - Update a module category to reference itself as parent OR - Update multiple module categories to create a circular dependency (A -> B -> A) Actual result: - Upgrade a module is impossible - Un/Install a module is impossible - Infinite loop: https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/models/ir_module.py#L900 Expected result: - Circular dependencies not possible - Module can be upgrade and un/install opw-3490162 closes odoo/odoo#149284 X-original-commit: 6932714200d158a21bf10b90b2f71fa5cae0b13f Signed-off-by: Raphael Collet <rco@odoo.com>