From 862ad88bc4f1053e78f5e15420f2cab76b0a93f7 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Fri, 11 Mar 2022 09:42:09 +0000 Subject: [PATCH] [FIX] test_inherit: Bad first argument given to super() (E1003) Part-of: odoo/odoo#86332 --- odoo/addons/test_inherit/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/test_inherit/models.py b/odoo/addons/test_inherit/models.py index 1b4a7d90785..513dc80c7e3 100644 --- a/odoo/addons/test_inherit/models.py +++ b/odoo/addons/test_inherit/models.py @@ -49,7 +49,7 @@ class mother2(models.Model): if rec.field_in_mother: rec.surname = rec.field_in_mother else: - super(mother, rec)._compute_surname() + super(mother2, rec)._compute_surname() class mother3(models.Model):