Merge pull request #46549 from frappe/mergify/bp/version-15-hotfix/pr-46504

fix: dashboard link for QC from PR (backport #46504)
This commit is contained in:
rohitwaghchaure
2025-03-17 16:37:21 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -335,7 +335,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
let d = locals[cdt][cdn];
return {
filters: {
docstatus: 1,
docstatus: ("<", 2),
inspection_type: inspection_type,
reference_name: doc.name,
item_code: d.item_code

View File

@@ -11,12 +11,12 @@ def get_data():
"Auto Repeat": "reference_document",
"Purchase Receipt": "return_against",
"Stock Reservation Entry": "from_voucher_no",
"Quality Inspection": "reference_name",
},
"internal_links": {
"Material Request": ["items", "material_request"],
"Purchase Order": ["items", "purchase_order"],
"Project": ["items", "project"],
"Quality Inspection": ["items", "quality_inspection"],
},
"transactions": [
{