From e22ed5070117edbd7757ce409cb779da7fdc5c12 Mon Sep 17 00:00:00 2001 From: Mqdd Date: Wed, 19 Nov 2025 09:37:44 +0700 Subject: conditional hide so num --- indoteknik_custom/views/stock_picking.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index f3abb11e..bad85963 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -184,7 +184,7 @@ 'required': [['is_internal_use', '=', True]] }" /> - + -- cgit v1.2.3 From 27aa909290c87086493d060caa98ba396c257ab7 Mon Sep 17 00:00:00 2001 From: HafidBuroiroh Date: Wed, 19 Nov 2025 13:16:20 +0700 Subject: reklas nyangkut --- indoteknik_custom/models/refund_sale_order.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py index c6db2174..cbc0b717 100644 --- a/indoteknik_custom/models/refund_sale_order.py +++ b/indoteknik_custom/models/refund_sale_order.py @@ -332,7 +332,8 @@ class RefundSaleOrder(models.Model): domain = [ ('journal_id', '=', 11), ('state', '=', 'posted'), - ('ref', 'ilike', 'uang muka penjualan') + ('ref', 'ilike', 'uang muka penjualan'), + ('ref', 'not ilike', 'reklas'), ] if so_names: domain += ['|'] * (len(so_names) - 1) @@ -696,7 +697,8 @@ class RefundSaleOrder(models.Model): domain = [ ('journal_id', '=', 11), ('state', '=', 'posted'), - ('ref', 'ilike', 'uang muka penjualan') + ('ref', 'ilike', 'uang muka penjualan'), + ('ref', 'not ilike', 'reklas'), ] domain += ['|'] * (len(so_names) - 1) for n in so_names: -- cgit v1.2.3