mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-03 12:18:46 +02:00
fix: dashboard link for QC from PR
(cherry picked from commit 551f89f14b)
This commit is contained in:
committed by
Mergify
parent
ad24867699
commit
426222d8e0
@@ -335,7 +335,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
let d = locals[cdt][cdn];
|
let d = locals[cdt][cdn];
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
docstatus: 1,
|
docstatus: ("<", 2),
|
||||||
inspection_type: inspection_type,
|
inspection_type: inspection_type,
|
||||||
reference_name: doc.name,
|
reference_name: doc.name,
|
||||||
item_code: d.item_code
|
item_code: d.item_code
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ def get_data():
|
|||||||
"Auto Repeat": "reference_document",
|
"Auto Repeat": "reference_document",
|
||||||
"Purchase Receipt": "return_against",
|
"Purchase Receipt": "return_against",
|
||||||
"Stock Reservation Entry": "from_voucher_no",
|
"Stock Reservation Entry": "from_voucher_no",
|
||||||
|
"Quality Inspection": "reference_name",
|
||||||
},
|
},
|
||||||
"internal_links": {
|
"internal_links": {
|
||||||
"Material Request": ["items", "material_request"],
|
"Material Request": ["items", "material_request"],
|
||||||
"Purchase Order": ["items", "purchase_order"],
|
"Purchase Order": ["items", "purchase_order"],
|
||||||
"Project": ["items", "project"],
|
"Project": ["items", "project"],
|
||||||
"Quality Inspection": ["items", "quality_inspection"],
|
|
||||||
},
|
},
|
||||||
"transactions": [
|
"transactions": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user