fix: cannot update delivery date

This commit is contained in:
Saqib Ansari
2020-05-29 22:21:50 +05:30
parent 5da8b98a04
commit c579b0879e
2 changed files with 22 additions and 5 deletions

View File

@@ -470,7 +470,8 @@ erpnext.utils.update_child_items = function(opts) {
fieldtype: 'Date',
fieldname: frm.doc.doctype == 'Sales Order' ? "delivery_date" : "schedule_date",
in_list_view: 1,
label: frm.doc.doctype == 'Sales Order' ? __("Delivery Date") : __("Reqd by date")
label: frm.doc.doctype == 'Sales Order' ? __("Delivery Date") : __("Reqd by date"),
reqd: 1
})
fields.splice(3, 0, {
fieldtype: 'Float',