translate=False on 'name' field of crm.lead.tag and res.partner.category

This commit is contained in:
Alexis de Lattre
2017-09-07 18:41:39 +02:00
parent f0adce0034
commit 338d0d445d
2 changed files with 12 additions and 0 deletions

View File

@@ -128,3 +128,9 @@ class ResPartner(models.Model):
res.append(u'%s' % entry['value'])
res = '\n'.join(res)
return res
class ResPartnerCategory(models.Model):
_inherit = 'res.partner.category'
name = fields.Char(translate=False)