diff options
Diffstat (limited to 'indoteknik_custom/views/voucher.xml')
| -rwxr-xr-x | indoteknik_custom/views/voucher.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/voucher.xml b/indoteknik_custom/views/voucher.xml index 97634d7d..a2f5557a 100755 --- a/indoteknik_custom/views/voucher.xml +++ b/indoteknik_custom/views/voucher.xml @@ -39,7 +39,7 @@ </group> <group string="Discount Settings" attrs="{'invisible': [('apply_type', '!=', 'all')]}"> <field name="min_purchase_amount" widget="monetary" required="1" /> - <field name="discount_type" required="1" /> + <field name="discount_type" attrs="{'invisible': [('apply_type','!=','all')], 'required': [('apply_type', '=', 'all')]}" /> <label for="max_discount_amount" string="Discount Amount" /> <div class="d-flex align-items-center"> |
