fix: unset discount amount based on coupon code
(cherry picked from commit 6518582ed3be49dd3bc6a62745dae3e6faed2658)
This commit is contained in:
parent
d0f1dec573
commit
0e50e77d8e
@ -369,6 +369,11 @@ erpnext.sales_common = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
coupon_code() {
|
||||
this.frm.set_value("discount_amount", 0);
|
||||
this.frm.set_value("additional_discount_percentage", 0);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user