Merge pull request #19447 from rohitwaghchaure/not_able_to_select_project_in_work_order_v11

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

View File

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