fix: not able to select the project in the work order
This commit is contained in:
parent
9942fcc8cb
commit
486a8f67a4
@ -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");
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user