From 6600698b2e80a8cc86266b7cbad64470d4bcb8b8 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Fri, 9 May 2025 16:02:24 +0700 Subject: add attributes untuk payment terms so --- indoteknik_custom/views/sale_order.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index ed389b4c..e0085eeb 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -296,6 +296,12 @@ ['cancel','draft'])]} + + + {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', + ['cancel','draft'])]} + + -- cgit v1.2.3