
from openerp import models, fields


class PartnerAcademicTitle(models.Model):
    _name = 'partner.academic.title'

    name = fields.Char(required=True)
    sequence = fields.Integer(required=True,
                              help="""defines the order to display titles""")
    active = fields.Boolean(default=True)


from openerp import models, fields


class PartnerAcademicTitle(models.Model):
    _name = 'partner.academic.title'

    name = fields.Char(required=True, translate=True)
    sequence = fields.Integer(required=True,
                              help="""defines the order to display titles""")
    active = fields.Boolean(default=True)

Add translate=True on academic title name
Add translate=True on academic title name

  
  from openerp import models, fields
  
  
  class PartnerAcademicTitle(models.Model):
      _name = 'partner.academic.title'
  
-     name = fields.Char(required=True)
+     name = fields.Char(required=True, translate=True)
      sequence = fields.Integer(required=True,
                                help="""defines the order to display titles""")
      active = fields.Boolean(default=True)
  
Add translate=True on academic title name
## Code Before:

from openerp import models, fields


class PartnerAcademicTitle(models.Model):
    _name = 'partner.academic.title'

    name = fields.Char(required=True)
    sequence = fields.Integer(required=True,
                              help="""defines the order to display titles""")
    active = fields.Boolean(default=True)

## Instruction:
Add translate=True on academic title name
## Code After:

from openerp import models, fields


class PartnerAcademicTitle(models.Model):
    _name = 'partner.academic.title'

    name = fields.Char(required=True, translate=True)
    sequence = fields.Integer(required=True,
                              help="""defines the order to display titles""")
    active = fields.Boolean(default=True)
