fix: miscellaneous fixes (#18615)
This commit is contained in:
parent
677c522f01
commit
19199baf29
@ -468,7 +468,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "0",
|
"default": "0",
|
||||||
"depends_on": "has_batch_no",
|
|
||||||
"fieldname": "retain_sample",
|
"fieldname": "retain_sample",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Retain Sample"
|
"label": "Retain Sample"
|
||||||
|
@ -190,7 +190,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
|
|||||||
frappe.set_route("Form", doc.doctype, doc.name);
|
frappe.set_route("Form", doc.doctype, doc.name);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
frappe.msgprint(__("Retention Stock Entry already created or Sample Quantity not provided"));
|
frappe.msgprint(__("Purchase Receipt doesn't have any Item for which Retain Sample is enabled."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user