From 2f5e84a3f735fd80aa7dad4365db372e872127d7 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Mon, 16 Jun 2025 07:55:47 +0700 Subject: tukar guling fill bu/in or bu/out --- indoteknik_custom/views/tukar_guling.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml index 9b490cd0..b3fae602 100644 --- a/indoteknik_custom/views/tukar_guling.xml +++ b/indoteknik_custom/views/tukar_guling.xml @@ -83,13 +83,17 @@ - - + attrs="{ + 'invisible': [('return_type', 'not in', ['debit_memo', 'revisi_po', 'tukar_guling'])], + 'required': [('return_type', 'in', ['debit_memo', 'revisi_po'])] + }"/> + + -- cgit v1.2.3