account: remove state from many fields of move line

The control is made by the write function

bzr revid: ced-664d083ce8fdf824e9344caf34b8da0b0e555801
This commit is contained in:
ced 2007-07-23 05:15:34 +00:00
parent a836e955b1
commit 5cea630e4a
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ class account_move_line(osv.osv):
'balance': fields.function(_balance, method=True, string='Balance'),
'active': fields.boolean('Active'),
'state': fields.selection([('draft','Draft'), ('valid','Valid')], 'State', readonly=True),
'tax_code_id': fields.many2one('account.tax.code', 'Tax Account', states={'valid':[('readonly', True)]}),
'tax_amount': fields.float('Tax/Base Amount', digits=(16,2), select=True, states={'valid':[('readonly', True)]}),
'tax_code_id': fields.many2one('account.tax.code', 'Tax Account'),
'tax_amount': fields.float('Tax/Base Amount', digits=(16,2), select=True),
}
_defaults = {
'blocked': lambda *a: False,