Commit 1b13c73d authored by Luca Cristaldi's avatar Luca Cristaldi

Fix editable only after save

parent fdb48f72
......@@ -20,7 +20,7 @@ fee_amount = fields.Numeric("Fee Amount", fee_digit, required=True)
_STATES = {'readonly': Eval('state') != 'open'}
_LINE_STATES = {'readonly': Eval('member_state') != 'draft'}
_LINE_STATES = {'readonly': Eval('member_state','') != 'draft'}
_FEE_STATES = {'readonly': Bool(Eval('move'))}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment