mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
Merge pull request #46504 from rohitwaghchaure/fixed-support-33851
fix: dashboard link for QC from PR
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user