Fixed minor issue
This commit is contained in:
parent
f5ad339cae
commit
363cedde76
@ -53,8 +53,8 @@ frappe.ui.form.on("Sales Order Item", {
|
||||
if (frm.doc.delivery_date) {
|
||||
row.delivery_date = frm.doc.delivery_date;
|
||||
refresh_field("delivery_date", cdn, "items");
|
||||
} else if((frm.doc.items || []).length > 1) {
|
||||
this.frm.script_manager.copy_from_first_row("items", row, ["delivery_date"]);
|
||||
} else {
|
||||
frm.script_manager.copy_from_first_row("items", row, ["delivery_date"]);
|
||||
}
|
||||
},
|
||||
delivery_date: function(frm, cdt, cdn) {
|
||||
|
Loading…
Reference in New Issue
Block a user