From 53f6684c46ee324f036d9b2632d7291aac2a6a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Mon, 23 Apr 2018 16:36:33 -0300 Subject: [PATCH] [document_page_approval] Some fields should be readonly if not in draft. --- document_page_approval/views/document_page_approval.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/document_page_approval/views/document_page_approval.xml b/document_page_approval/views/document_page_approval.xml index 4acaad86..321e9890 100644 --- a/document_page_approval/views/document_page_approval.xml +++ b/document_page_approval/views/document_page_approval.xml @@ -36,9 +36,12 @@ - - {'readonly': [('state', 'not in', ['draft'])]} - + + {'readonly': [('state', 'not in', ['draft'])]} + {'readonly': [('state', 'not in', ['draft'])]} + {'readonly': [('state', 'not in', ['draft'])]} + {'readonly': [('state', 'not in', ['draft'])]} +