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

Fix editable only after save

parent fdb48f72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'))}