Merge pull request #19446 from rohitwaghchaure/not_able_to_select_project_in_work_order

fix: not able to select the project in the work order
This commit is contained in:
rohitwaghchaure
2019-10-30 16:32:34 +05:30
committed by GitHub

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");
}
},