Browse Source

[FIX] partner_firstname: Pylint errors

12.0
Maxime Chambreuil 6 years ago
parent
commit
13ed73a25f
  1. 2
      partner_firstname/models/res_users.py

2
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 {})

Loading…
Cancel
Save