[minor] remove order_type as setter in multiselect (#8906)

This commit is contained in:
Prateeksha Singh 2017-05-19 11:09:12 +05:30 committed by Rushabh Mehta
parent 6799e27390
commit 064530d11f
2 changed files with 2 additions and 4 deletions

View File

@ -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,

View File

@ -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,