mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 20:35:09 +00:00
@@ -234,6 +234,7 @@ frappe.ui.form.on("Asset", {
|
||||
|
||||
if (
|
||||
!frm.doc.purchase_receipt &&
|
||||
!frm.doc.purchase_invoice &&
|
||||
["Existing Asset", "Composite Component"].includes(frm.doc.asset_type)
|
||||
) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user