[IMP] account: make comment mandatory. Since it has a default value anyway, it doesn't reall y change anything, but makes the reconciliation UI looks consistent accross the whole OpenERP (eg invoice payment)

bzr revid: rvalyi@gmail.com-20091103051912-ead9jx19l3g0d8dm
This commit is contained in:
Raphaël Valyi 2009-11-03 03:19:12 -02:00
parent 2dabd5f34f
commit 2b326eb066
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ _transaction_add_fields = {
'journal_id': {'string': 'Write-Off Journal', 'type': 'many2one', 'relation':'account.journal', 'required':True},
'writeoff_acc_id': {'string':'Write-Off account', 'type':'many2one', 'relation':'account.account', 'required':True},
'date_p': {'string':'Date','type':'date'},
'comment': {'string':'Comment','type':'char', 'size': 64},
'comment': {'string':'Comment','type':'char', 'size': 64, 'required':True},
'analytic_id': {'string':'Analytic Account', 'type': 'many2one', 'relation':'account.analytic.account'},
}