translation=False on 'name' of res.partner.category and crm.case.categ
This commit is contained in:
@@ -72,3 +72,9 @@ class Partner(models.Model):
|
||||
res = super(Partner, self).name_search(
|
||||
name, args=args, operator=operator, limit=limit)
|
||||
return [(pid, val.replace('\n', ' ')) for pid, val in res]
|
||||
|
||||
|
||||
class ResPartnerCategory(models.Model):
|
||||
_inherit = 'res.partner.category'
|
||||
|
||||
name = fields.Char(translate=False)
|
||||
|
||||
Reference in New Issue
Block a user