[IMP] account: hide column 'statement_id' from Journal Items automatic tree view
bzr revid: rco@openerp.com-20120130111803-tturnaosp7jxca2p
This commit is contained in:
parent
3029b67fc6
commit
7f2be58065
|
@ -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)')
|
||||
|
|
Loading…
Reference in New Issue