summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-08-22 15:17:54 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-08-22 15:17:54 +0700
commita6bfa84ab117feccca717989f444232f5ba01d8b (patch)
treed17e8880d57ccb248a942c03a292dc459e320c8e /indoteknik_custom
parent38f5d331189e70b5d265f6df0a08309de559096f (diff)
cr voucher
Diffstat (limited to 'indoteknik_custom')
-rwxr-xr-xindoteknik_custom/views/voucher.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/voucher.xml b/indoteknik_custom/views/voucher.xml
index 49cd080f..29d0ad4b 100755
--- a/indoteknik_custom/views/voucher.xml
+++ b/indoteknik_custom/views/voucher.xml
@@ -40,7 +40,7 @@
</group>
<group string="Discount Settings" attrs="{'invisible': [('apply_type', 'not in', ['all', 'shipping'])]}">
<field name="min_purchase_amount" widget="monetary" required="1" />
- <field name="discount_type" attrs="{'invisible': [('apply_type','!=','all')], 'required': [('apply_type', '=', 'all')]}" />
+ <field name="discount_type" attrs="{'invisible': [('apply_type','not in', ['all', 'shipping'])], 'required': [('apply_type', 'in', ['all', 'shipping'])]}" />
<label for="max_discount_amount" string="Discount Amount" />
<div class="d-flex align-items-center">