chore: PR ref in SCR connections
diff --git a/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.js b/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.js
index 762cdc9..86b4d9b 100644
--- a/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.js
+++ b/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.js
@@ -11,6 +11,10 @@
frm.get_field('supplied_items').grid.cannot_add_rows = true;
frm.get_field('supplied_items').grid.only_sortable();
frm.trigger('set_queries');
+
+ frm.custom_make_buttons = {
+ 'Purchase Receipt': 'Purchase Receipt',
+ }
},
on_submit(frm) {
diff --git a/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt_dashboard.py b/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt_dashboard.py
index 4d15938..6b67a16 100644
--- a/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt_dashboard.py
+++ b/erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt_dashboard.py
@@ -16,7 +16,13 @@
"transactions": [
{
"label": _("Reference"),
- "items": ["Subcontracting Order", "Purchase Order", "Quality Inspection", "Project"],
+ "items": [
+ "Purchase Order",
+ "Purchase Receipt",
+ "Subcontracting Order",
+ "Quality Inspection",
+ "Project",
+ ],
},
{"label": _("Returns"), "items": ["Subcontracting Receipt"]},
],