mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 03:58:26 +00:00
fix: update min date based on transaction_date (#53803)
This commit is contained in:
committed by
GitHub
parent
eca3ec114c
commit
9417f55b7d
@@ -63,6 +63,13 @@ frappe.ui.form.on("Sales Order", {
|
||||
});
|
||||
}
|
||||
},
|
||||
transaction_date(frm) {
|
||||
prevent_past_delivery_dates(frm);
|
||||
frm.set_value("delivery_date", "");
|
||||
frm.doc.items.forEach((d) => {
|
||||
frappe.model.set_value(d.doctype, d.name, "delivery_date", "");
|
||||
});
|
||||
},
|
||||
|
||||
refresh: function (frm) {
|
||||
frm.fields_dict["items"].grid.update_docfield_property(
|
||||
|
||||
Reference in New Issue
Block a user