[IMP] analytic: 'code' field: remove size limit

bzr revid: olt@tinyerp.com-20121211150419-2sh2n255ej9bewgo
This commit is contained in:
olt@tinyerp.com 2012-12-11 16:04:19 +01:00
parent bc8e74d8b0
commit f365052c6c
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class account_analytic_account(osv.osv):
_columns = {
'name': fields.char('Account/Contract Name', size=128, required=True),
'complete_name': fields.function(_get_full_name, type='char', string='Full Account Name'),
'code': fields.char('Reference', size=24, select=True),
'code': fields.char('Reference', select=True),
'type': fields.selection([('view','Analytic View'), ('normal','Analytic Account'),('contract','Contract or Project'),('template','Template of Contract')], 'Type of Account', required=True,
help="If you select the View Type, it means you won\'t allow to create journal entries using that account.\n"\
"The type 'Analytic account' stands for usual accounts that you only want to use in accounting.\n"\