fix: not able to select the project in the work order

This commit is contained in:
Rohit Waghchaure
2019-10-30 14:22:49 +05:30
parent 66e92041b9
commit 112902a9c4

View File

@@ -318,7 +318,7 @@ frappe.ui.form.on("Work Order", {
}, },
project: function(frm) { project: function(frm) {
if(!erpnext.in_production_item_onchange) { if(!erpnext.in_production_item_onchange && !frm.doc.bom_no) {
frm.trigger("production_item"); frm.trigger("production_item");
} }
}, },