diff --git a/views/survey_user_input.xml b/views/survey_user_input.xml index 875ec1662ca62ef3c6c6ade0765e79ce5e941872..2ba306bfa162d37d507305cfadd9476d4eed1f6e 100644 --- a/views/survey_user_input.xml +++ b/views/survey_user_input.xml @@ -18,6 +18,10 @@ attrs="{'invisible': [('is_up', '!=', True)]}" /> </xpath> + + <xpath expr="//field[@name='user_input_line_ids']" position="attributes"> + <attribute name="attrs">{'readonly': [('is_up', '!=', True)]}</attribute> + </xpath> </field> </record>