diff --git a/partner_firstname/models/res_users.py b/partner_firstname/models/res_users.py index 2522bfa75..f32b1bc67 100644 --- a/partner_firstname/models/res_users.py +++ b/partner_firstname/models/res_users.py @@ -31,7 +31,7 @@ class ResUser(models.Model): rec.name = rec.partner_id._get_computed_name( rec.lastname, rec.firstname) - @api.model + @api.multi def copy(self, default=None): self.ensure_one() default = dict(default or {})