mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 04:04:52 +00:00
fix: unset discount amount based on coupon code
(cherry picked from commit 6518582ed3)
This commit is contained in:
@@ -369,6 +369,11 @@ erpnext.sales_common = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
coupon_code() {
|
||||||
|
this.frm.set_value("discount_amount", 0);
|
||||||
|
this.frm.set_value("additional_discount_percentage", 0);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user