From b0241e8449224c67cccee154fb25d784d3d36c1c Mon Sep 17 00:00:00 2001 From: "Indoteknik ." Date: Tue, 17 Jun 2025 09:54:46 +0700 Subject: (andri) lepas readonly pada shipping SO yang telah di confirm --- indoteknik_custom/views/sale_order.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index fbca3705..d0442677 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -305,14 +305,12 @@ - {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', - ['cancel','draft'])]} + {'readonly': [('state', 'in', ['cancel', 'done'])]} - {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', - ['cancel', 'draft'])]} + {'readonly': [('state', 'in', ['cancel', 'done'])]} -- cgit v1.2.3