mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 02:58:30 +00:00
fix: wrong currency in Subcontracting Order Service Item (#50517)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"supplier",
|
||||
"supplier_name",
|
||||
"supplier_warehouse",
|
||||
"supplier_currency",
|
||||
"column_break_7",
|
||||
"company",
|
||||
"transaction_date",
|
||||
@@ -460,12 +461,22 @@
|
||||
"fieldtype": "Tab Break",
|
||||
"label": "Connections",
|
||||
"show_dashboard": 1
|
||||
},
|
||||
{
|
||||
"fetch_from": "purchase_order.currency",
|
||||
"fieldname": "supplier_currency",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"label": "Job Worker Currency",
|
||||
"no_copy": 1,
|
||||
"options": "Currency",
|
||||
"read_only": 1
|
||||
}
|
||||
],
|
||||
"icon": "fa fa-file-text",
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2024-12-06 15:21:49.924146",
|
||||
"modified": "2025-11-14 10:31:40.682892",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Subcontracting",
|
||||
"name": "Subcontracting Order",
|
||||
@@ -512,6 +523,7 @@
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"row_format": "Dynamic",
|
||||
"search_fields": "status, transaction_date, supplier",
|
||||
"show_name_in_global_search": 1,
|
||||
"sort_field": "creation",
|
||||
@@ -520,4 +532,4 @@
|
||||
"timeline_field": "supplier",
|
||||
"title_field": "supplier_name",
|
||||
"track_changes": 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ class SubcontractingOrder(SubcontractingController):
|
||||
supplied_items: DF.Table[SubcontractingOrderSuppliedItem]
|
||||
supplier: DF.Link
|
||||
supplier_address: DF.Link | None
|
||||
supplier_currency: DF.Link | None
|
||||
supplier_name: DF.Data
|
||||
supplier_warehouse: DF.Link
|
||||
title: DF.Data | None
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
"fieldtype": "Currency",
|
||||
"in_list_view": 1,
|
||||
"label": "Rate",
|
||||
"options": "currency",
|
||||
"options": "supplier_currency",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"fieldtype": "Currency",
|
||||
"in_list_view": 1,
|
||||
"label": "Amount",
|
||||
"options": "currency",
|
||||
"options": "supplier_currency",
|
||||
"read_only": 1,
|
||||
"reqd": 1
|
||||
},
|
||||
@@ -155,7 +155,7 @@
|
||||
],
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2024-12-05 17:33:46.099601",
|
||||
"modified": "2025-11-13 16:04:45.020225",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Subcontracting",
|
||||
"name": "Subcontracting Order Service Item",
|
||||
@@ -163,8 +163,9 @@
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"quick_entry": 1,
|
||||
"row_format": "Dynamic",
|
||||
"search_fields": "item_name",
|
||||
"sort_field": "creation",
|
||||
"sort_order": "DESC",
|
||||
"states": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user