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

@@ -27,3 +27,9 @@ class CrmLead(models.Model):
for lead in self:
rev_prob = lead.probability * lead.planned_revenue / 100.0
lead.probable_revenue = rev_prob
class CrmLeadTag(models.Model):
_inherit = 'crm.lead.tag'
name = fields.Char(translate=False)