Skip to content

Commit 6711f5e

Browse files
committed
fix(medication): auto-fetch linked item details in child table
1 parent f0080ec commit 6711f5e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

healthcare/healthcare/doctype/medication_linked_item/medication_linked_item.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@
2121
],
2222
"fields": [
2323
{
24+
"fetch_from": "item.brand",
2425
"fieldname": "brand",
2526
"fieldtype": "Link",
2627
"in_list_view": 1,
2728
"label": "Brand",
2829
"options": "Brand"
2930
},
3031
{
32+
"fetch_from": "item.default_item_manufacturer",
3133
"fieldname": "manufacturer",
3234
"fieldtype": "Link",
3335
"in_list_view": 1,
@@ -51,6 +53,7 @@
5153
"set_only_once": 1
5254
},
5355
{
56+
"fetch_from": "item.item_group",
5457
"fieldname": "item_group",
5558
"fieldtype": "Link",
5659
"in_list_view": 1,
@@ -92,6 +95,7 @@
9295
"label": "Change In Item"
9396
},
9497
{
98+
"fetch_from": "item.description",
9599
"fieldname": "description",
96100
"fieldtype": "Small Text",
97101
"label": "Description"
@@ -100,7 +104,7 @@
100104
"grid_page_length": 50,
101105
"istable": 1,
102106
"links": [],
103-
"modified": "2026-02-20 19:22:29.335838",
107+
"modified": "2026-05-20 15:28:50.678477",
104108
"modified_by": "Administrator",
105109
"module": "Healthcare",
106110
"name": "Medication Linked Item",

0 commit comments

Comments
 (0)