diff --git a/odoo/models.py b/odoo/models.py index 5ba3b364a9e..66fae078498 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -5536,7 +5536,7 @@ Record ids: %(records)s continue else: # val is another tree of dependencies - model = self.env[key.model_name] + model = self.env[key.model_name].with_context(active_test=False) for invf in model._field_inverses[key]: # use an inverse of field without domain if not (invf.type in ('one2many', 'many2many') and invf.domain):