[minor] remove order_type as setter in multiselect (#8906)
This commit is contained in:
parent
6799e27390
commit
064530d11f
@ -35,8 +35,7 @@ erpnext.maintenance.MaintenanceSchedule = frappe.ui.form.Controller.extend({
|
||||
source_doctype: "Sales Order",
|
||||
target: me.frm,
|
||||
setters: {
|
||||
customer: me.frm.doc.customer || undefined,
|
||||
order_type: me.frm.doc.order_type,
|
||||
customer: me.frm.doc.customer || undefined
|
||||
},
|
||||
get_query_filters: {
|
||||
docstatus: 1,
|
||||
|
@ -138,8 +138,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend(
|
||||
source_doctype: "Quotation",
|
||||
target: me.frm,
|
||||
setters: {
|
||||
customer: me.frm.doc.customer || undefined,
|
||||
order_type: me.frm.doc.order_type,
|
||||
customer: me.frm.doc.customer || undefined
|
||||
},
|
||||
get_query_filters: {
|
||||
company: me.frm.doc.company,
|
||||
|
Loading…
Reference in New Issue
Block a user