~openerp-chinese-team/openobject-addons/V6

« back to all changes in this revision

Viewing changes to hr/hr.py

  • Committer: Olivier Dony
  • Date: 2010-12-15 17:24:55 UTC
  • Revision ID: odo@openerp.com-20101215172455-411ka2can99pmpt5
[FIX+I18N] hr: marital status should be translatable

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    _name = "hr.employee.marital.status"
71
71
    _description = "Employee Marital Status"
72
72
    _columns = {
73
 
        'name': fields.char('Marital Status', size=32, required=True),
 
73
        'name': fields.char('Marital Status', size=32, required=True, translate=True),
74
74
        'description': fields.text('Status Description'),
75
75
    }
76
76