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 9942fcc8cb
commit 486a8f67a4

View File

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