Merge pull request #38649 from pps190/ux-delivery_date-schedule_date

This commit is contained in:
Raffael Meyer 2024-02-14 01:56:29 +01:00 committed by GitHub
commit 4bef6707ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -676,6 +676,7 @@ erpnext.utils.update_child_items = function(opts) {
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"),
default: frm.doc.doctype == 'Sales Order' ? frm.doc.delivery_date : frm.doc.schedule_date,
reqd: 1
})
fields.splice(3, 0, {