Set connection sections to appear on specific tab

is there a way to make the connections section appear on a specific tab, not the first tab?
the problem is I want to hide the first tab and when i do that the connection section also disappears.

so I hide the first 2 tabs with the client script when opening the form

the connection section on the first tab disappears with it.

is there a way to setup where the connections sections appear on a specific tab?

anybody know this how to do ??

I found the solution of it !!

make the doctype_name_dashboard.py file.

then write like this, I found this in Delivery Note !!

from frappe import _


def get_data():
	return {
		"fieldname": "delivery_note",
		"non_standard_fieldnames": {
			"Stock Entry": "delivery_note_no",
			"Quality Inspection": "reference_name",
			"Auto Repeat": "reference_document",
			"Purchase Receipt": "inter_company_reference",
		},
		"internal_links": {
			"Sales Order": ["items", "against_sales_order"],
			"Material Request": ["items", "material_request"],
			"Purchase Order": ["items", "purchase_order"],
		},
		"internal_and_external_links": {
			"Sales Invoice": ["items", "against_sales_invoice"],
		},
		"transactions": [
			{"label": _("Related"), "items": ["Sales Invoice", "Packing Slip", "Delivery Trip"]},
			{"label": _("Reference"), "items": ["Sales Order", "Shipment", "Quality Inspection"]},
			{"label": _("Returns"), "items": ["Stock Entry"]},
			{"label": _("Subscription"), "items": ["Auto Repeat"]},
			{
				"label": _("Internal Transfer"),
				"items": ["Material Request", "Purchase Order", "Purchase Receipt"],
			},
		],
	}
2 Likes