The constraint method _check_parent_id was defined twice. This commit removes the second definition, less efficient because not using _check_recursion correctly (it can be called on a recordset with multiple records directly). Task Id: 2328664 COM PR: https://github.com/odoo/odoo/pull/55525 ENT PR: https://github.com/odoo/enterprise/pull/12250