fix: unset discount amount from coupon discounts
This commit is contained in:
@@ -428,6 +428,11 @@ erpnext.selling.SellingController = class SellingController extends erpnext.Tran
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
coupon_code() {
|
||||
this.frm.set_value("discount_amount", 0);
|
||||
this.frm.set_value("additional_discount_percentage", 0);
|
||||
}
|
||||
};
|
||||
|
||||
frappe.ui.form.on(cur_frm.doctype,"project", function(frm) {
|
||||
|
||||
Reference in New Issue
Block a user