From 13ed73a25f1f4e94e4860adb47258ffdea4d7d30 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Sat, 20 Jul 2019 17:20:41 -0500 Subject: [PATCH] [FIX] partner_firstname: Pylint errors --- partner_firstname/models/res_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {})