fix: currency symbol in SCO and SCR (backport #44577) (#44594)

* fix: currency symbol in SCO and SCR (#44577)

(cherry picked from commit 8806d17ef1)

# Conflicts:
#	erpnext/subcontracting/doctype/subcontracting_order/subcontracting_order.json
#	erpnext/subcontracting/doctype/subcontracting_order_item/subcontracting_order_item.json
#	erpnext/subcontracting/doctype/subcontracting_receipt/subcontracting_receipt.json
#	erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json

* chore: fix conflicts

* chore: fix conflicts

* chore: fix conflicts

* chore: fix conflicts

---------

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2024-12-08 16:07:06 +05:30
committed by GitHub
parent 608eaaa482
commit 2a17ecdc39
6 changed files with 42 additions and 30 deletions

View File

@@ -294,7 +294,7 @@
"fieldname": "total", "fieldname": "total",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total", "label": "Total",
"options": "currency", "options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -353,6 +353,7 @@
"fieldname": "total_additional_costs", "fieldname": "total_additional_costs",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Additional Costs", "label": "Total Additional Costs",
"options": "Company:company:default_currency",
"print_hide_if_no_value": 1, "print_hide_if_no_value": 1,
"read_only": 1 "read_only": 1
}, },
@@ -464,7 +465,7 @@
"icon": "fa fa-file-text", "icon": "fa fa-file-text",
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2024-01-03 20:56:04.670380", "modified": "2024-12-06 15:21:49.924146",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Subcontracting", "module": "Subcontracting",
"name": "Subcontracting Order", "name": "Subcontracting Order",

View File

@@ -185,7 +185,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Rate", "label": "Rate",
"options": "currency", "options": "Company:company:default_currency",
"read_only": 1, "read_only": 1,
"reqd": 1 "reqd": 1
}, },
@@ -199,7 +199,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Amount", "label": "Amount",
"options": "currency", "options": "Company:company:default_currency",
"read_only": 1, "read_only": 1,
"reqd": 1 "reqd": 1
}, },
@@ -269,6 +269,7 @@
"fieldname": "service_cost_per_qty", "fieldname": "service_cost_per_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Service Cost Per Qty", "label": "Service Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1, "read_only": 1,
"reqd": 1 "reqd": 1
}, },
@@ -277,6 +278,7 @@
"fieldname": "additional_cost_per_qty", "fieldname": "additional_cost_per_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Additional Cost Per Qty", "label": "Additional Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -284,6 +286,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Raw Material Cost Per Qty", "label": "Raw Material Cost Per Qty",
"no_copy": 1, "no_copy": 1,
"options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -384,7 +387,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2023-11-30 15:29:43.744618", "modified": "2024-12-06 15:23:05.252346",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Subcontracting", "module": "Subcontracting",
"name": "Subcontracting Order Item", "name": "Subcontracting Order Item",

View File

@@ -26,8 +26,11 @@ class SubcontractingOrderItem(Document):
include_exploded_items: DF.Check include_exploded_items: DF.Check
item_code: DF.Link item_code: DF.Link
item_name: DF.Data item_name: DF.Data
job_card: DF.Link | None
manufacturer: DF.Link | None manufacturer: DF.Link | None
manufacturer_part_no: DF.Data | None manufacturer_part_no: DF.Data | None
material_request: DF.Link | None
material_request_item: DF.Data | None
page_break: DF.Check page_break: DF.Check
parent: DF.Data parent: DF.Data
parentfield: DF.Data parentfield: DF.Data

View File

@@ -336,7 +336,7 @@
"fieldname": "total", "fieldname": "total",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total", "label": "Total",
"options": "currency", "options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -618,6 +618,7 @@
"fieldname": "total_additional_costs", "fieldname": "total_additional_costs",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Total Additional Costs", "label": "Total Additional Costs",
"options": "Company:company:default_currency",
"print_hide_if_no_value": 1, "print_hide_if_no_value": 1,
"read_only": 1 "read_only": 1
}, },
@@ -676,7 +677,7 @@
"in_create": 1, "in_create": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2024-05-28 15:02:13.517969", "modified": "2024-12-06 15:24:38.384232",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Subcontracting", "module": "Subcontracting",
"name": "Subcontracting Receipt", "name": "Subcontracting Receipt",

View File

@@ -207,7 +207,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Rate", "label": "Rate",
"options": "currency", "options": "Company:company:default_currency",
"print_width": "100px", "print_width": "100px",
"read_only": 1, "read_only": 1,
"width": "100px" "width": "100px"
@@ -217,7 +217,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Amount", "label": "Amount",
"options": "currency", "options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -231,6 +231,7 @@
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Raw Material Cost Per Qty", "label": "Raw Material Cost Per Qty",
"no_copy": 1, "no_copy": 1,
"options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -239,6 +240,7 @@
"fieldname": "service_cost_per_qty", "fieldname": "service_cost_per_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Service Cost Per Qty", "label": "Service Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1, "read_only": 1,
"reqd": 1 "reqd": 1
}, },
@@ -248,6 +250,7 @@
"fieldname": "additional_cost_per_qty", "fieldname": "additional_cost_per_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Additional Cost Per Qty", "label": "Additional Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -582,7 +585,7 @@
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2024-03-29 15:42:43.425544", "modified": "2024-12-06 15:23:58.680169",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Subcontracting", "module": "Subcontracting",
"name": "Subcontracting Receipt Item", "name": "Subcontracting Receipt Item",

View File

@@ -28,6 +28,7 @@ class SubcontractingReceiptItem(Document):
is_scrap_item: DF.Check is_scrap_item: DF.Check
item_code: DF.Link item_code: DF.Link
item_name: DF.Data | None item_name: DF.Data | None
job_card: DF.Link | None
manufacturer: DF.Link | None manufacturer: DF.Link | None
manufacturer_part_no: DF.Data | None manufacturer_part_no: DF.Data | None
page_break: DF.Check page_break: DF.Check