[Fix] Sales order erased on production order on selection of sales order (#12225)
This commit is contained in:
parent
c9ed09440c
commit
a84d38999c
@ -226,6 +226,7 @@ frappe.ui.form.on("Production Order", {
|
||||
args: { production_item: frm.doc.production_item },
|
||||
callback: function(r) {
|
||||
frm.set_query("sales_order", function() {
|
||||
erpnext.in_production_item_onchange = true;
|
||||
return {
|
||||
filters: [
|
||||
["Sales Order","name", "in", r.message]
|
||||
|
Loading…
Reference in New Issue
Block a user