diff --git a/views/ranch_purchase_data_view.xml b/views/ranch_purchase_data_view.xml index efd8faf88d504439f9579376be1451a6af6fb5cb..b5a824806ca0504516c825df57312d6c7f3286e7 100644 --- a/views/ranch_purchase_data_view.xml +++ b/views/ranch_purchase_data_view.xml @@ -21,7 +21,7 @@ <page string="Payment System Terms"> <group> <field name="payment_system_term_ids" nolabel="1" - attrs="{'readonly': [('state', 'not in', ('draft', 'comm_loaded'))]}"> + attrs="{'readonly': [('state', '=', 'closed')]}"> <tree editable="bottom"> <field name="payment_method_id"/> <field name="days"/>