[IMP] account: hide column 'statement_id' from Journal Items automatic tree view

bzr revid: rco@openerp.com-20120130111803-tturnaosp7jxca2p
This commit is contained in:
Raphael Collet 2012-01-30 12:18:03 +01:00
parent 3029b67fc6
commit 7f2be58065
1 changed files with 1 additions and 0 deletions

View File

@ -1064,6 +1064,7 @@ class account_move_line(osv.osv):
elif field == 'statement_id':
f.set('domain', "[('state', '!=', 'confirm'),('journal_id.type', '=', 'bank')]")
f.set('invisible', 'True')
elif field == 'date':
f.set('on_change', 'onchange_date(date)')