[FIX] make lang field required true to select atleast language.

bzr revid: nco@tinyerp.com-20121011060442-rqe3shhavag7qo5s
This commit is contained in:
Nimesh (Open ERP) 2012-10-11 11:34:42 +05:30
parent 69ecfa1480
commit 4c8e5b39a8
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ class res_partner(osv.osv, format_address):
'parent_id': fields.many2one('res.partner', 'Company'),
'child_ids': fields.one2many('res.partner', 'parent_id', 'Contacts'),
'ref': fields.char('Reference', size=64, select=1),
'lang': fields.selection(_lang_get, 'Language',
'lang': fields.selection(_lang_get, 'Language', required=True,
help="If the selected language is loaded in the system, all documents related to this contact will be printed in this language. If not, it will be English."),
'tz': fields.selection(_tz_get, 'Timezone', size=64,
help="The partner's timezone, used to output proper date and time values inside printed reports. "