Daily updates from Odoo
Friday, January 12, 2024
1 change
Resolved issues and error corrections
This fix prevents module categories from creating circular dependencies, which was causing the system to freeze and making it impossible to upgrade or install modules. The system now validates that a module category cannot reference itself or create circular chains, allowing normal module operations to work smoothly.
Original PR description
Description of the issue/feature this PR addresses: - Update a module category to reference itself as parent OR - Update multiple module categories to create a circular dependency (A -> B -> A) Current behavior before PR: - 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 Desired behavior after PR is merged: - Circular dependencies not possible - Module can be upgrade and un/install Retarget of: https://github.com/odoo/odoo/pull/134485 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#141820