From 6cb477a63aaa019e6fd45875ebcc535d513c2888 Mon Sep 17 00:00:00 2001 From: benjamin <benjamin@le-filament.com> Date: Tue, 20 May 2025 15:36:49 +0200 Subject: [PATCH] [UPD] remove readonly for user input line for UP --- views/survey_user_input.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/survey_user_input.xml b/views/survey_user_input.xml index 875ec16..2ba306b 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> -- GitLab