mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] unicode error when accents in name
This commit is contained in:
@@ -405,7 +405,7 @@ class CrmClaim(models.Model):
|
||||
|
||||
@api.one
|
||||
def name_get(self):
|
||||
return (self.id, '[{}] {}'.format(self.code or '', self.name))
|
||||
return (self.id, u'[{}] {}'.format(self.code or '', self.name))
|
||||
|
||||
@api.model
|
||||
def copy_data(self, default=None):
|
||||
|
||||
Reference in New Issue
Block a user