chore: Added Material Request Reference in Purchase Recipt Dashboard for Tracking

This commit is contained in:
Vishal 2022-10-28 11:36:14 +05:30
parent 183662c0e2
commit a04c44fe34

View File

@ -1,6 +1,5 @@
from frappe import _
def get_data():
return {
"fieldname": "purchase_receipt_no",
@ -12,13 +11,14 @@ def get_data():
"Purchase Receipt": "return_against",
},
"internal_links": {
"Material Request": ["items", "material_request"],
"Purchase Order": ["items", "purchase_order"],
"Project": ["items", "project"],
"Quality Inspection": ["items", "quality_inspection"],
},
"transactions": [
{"label": _("Related"), "items": ["Purchase Invoice", "Landed Cost Voucher", "Asset"]},
{"label": _("Reference"), "items": ["Purchase Order", "Quality Inspection", "Project"]},
{"label": _("Reference"), "items": ["Material Request", "Purchase Order", "Quality Inspection", "Project"]},
{"label": _("Returns"), "items": ["Purchase Receipt"]},
{"label": _("Subscription"), "items": ["Auto Repeat"]},
],