Browse Source

Add translate=True on academic title name

pull/393/head
Adrien Peiffer (ACSONE) 9 years ago
committed by gilles
parent
commit
b7ea2db86a
  1. 2
      partner_academic_title/models/partner_academic_title.py

2
partner_academic_title/models/partner_academic_title.py

@ -29,7 +29,7 @@ from openerp import models, fields
class PartnerAcademicTitle(models.Model): class PartnerAcademicTitle(models.Model):
_name = 'partner.academic.title' _name = 'partner.academic.title'
name = fields.Char(required=True)
name = fields.Char(required=True, translate=True)
sequence = fields.Integer(required=True, sequence = fields.Integer(required=True,
help="""defines the order to display titles""") help="""defines the order to display titles""")
active = fields.Boolean(default=True) active = fields.Boolean(default=True)
Loading…
Cancel
Save