From f5d3b28344f3b992377efbba556306b423bdf723 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 31 Aug 2023 16:09:15 +0700 Subject: Add apply voucher function on sale order Update sale order view --- indoteknik_custom/views/sale_order.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 14f3663f..bbfc9e3b 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -26,7 +26,17 @@ - + 1 @@ -49,6 +59,11 @@ + + + {'readonly': ['|', ('applied_voucher_id', '!=', False), ('state', 'in', ('done','cancel'))]} + + { @@ -75,7 +90,7 @@ - + @@ -85,7 +100,7 @@