fix: cannot update delivery date

This commit is contained in:
Saqib Ansari
2020-05-29 22:21:50 +05:30
committed by marination
parent 39e125b8a2
commit 9ee4841520
2 changed files with 22 additions and 5 deletions

View File

@@ -487,7 +487,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',