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 {}) diff --git a/partner_firstname/static/description/index.html b/partner_firstname/static/description/index.html index b22d105e2..6b5583364 100644 --- a/partner_firstname/static/description/index.html +++ b/partner_firstname/static/description/index.html @@ -3,7 +3,7 @@ - + Partner first name and last name