mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
(cherry picked from commit 73bfd59846)
Co-authored-by: Noah Jacob <noahjacobkurian@gmail.com>
This commit is contained in:
@@ -238,6 +238,12 @@ frappe.ui.form.on('Production Plan', {
|
|||||||
method: "get_items",
|
method: "get_items",
|
||||||
freeze: true,
|
freeze: true,
|
||||||
doc: frm.doc,
|
doc: frm.doc,
|
||||||
|
callback: function() {
|
||||||
|
frm.refresh_field("po_items");
|
||||||
|
if (frm.doc.sub_assembly_items.length > 0) {
|
||||||
|
frm.trigger("get_sub_assembly_items");
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user