Skip to content

Commit

Permalink
fix: currency symbol in SCO and SCR (backport #44577) (#44594)
Browse files Browse the repository at this point in the history
* fix: currency symbol in SCO and SCR (#44577)

(cherry picked from commit 8806d17)

# 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 <[email protected]>
  • Loading branch information
mergify[bot] and rohitwaghchaure authored Dec 8, 2024
1 parent 608eaaa commit 2a17ecd
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"fieldname": "total",
"fieldtype": "Currency",
"label": "Total",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand Down Expand Up @@ -353,6 +353,7 @@
"fieldname": "total_additional_costs",
"fieldtype": "Currency",
"label": "Total Additional Costs",
"options": "Company:company:default_currency",
"print_hide_if_no_value": 1,
"read_only": 1
},
Expand Down Expand Up @@ -450,21 +451,21 @@
"options": "Project"
},
{
"fieldname": "tab_other_info",
"fieldtype": "Tab Break",
"label": "Other Info"
"fieldname": "tab_other_info",
"fieldtype": "Tab Break",
"label": "Other Info"
},
{
"fieldname": "tab_connections",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
"fieldname": "tab_connections",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
}
],
"icon": "fa fa-file-text",
"is_submittable": 1,
"links": [],
"modified": "2024-01-03 20:56:04.670380",
"modified": "2024-12-06 15:21:49.924146",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order",
Expand Down Expand Up @@ -519,4 +520,4 @@
"timeline_field": "supplier",
"title_field": "supplier_name",
"track_changes": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Rate",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1,
"reqd": 1
},
Expand All @@ -199,7 +199,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Amount",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1,
"reqd": 1
},
Expand Down Expand Up @@ -269,6 +269,7 @@
"fieldname": "service_cost_per_qty",
"fieldtype": "Currency",
"label": "Service Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1,
"reqd": 1
},
Expand All @@ -277,13 +278,15 @@
"fieldname": "additional_cost_per_qty",
"fieldtype": "Currency",
"label": "Additional Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1
},
{
"fieldname": "rm_cost_per_qty",
"fieldtype": "Currency",
"label": "Raw Material Cost Per Qty",
"no_copy": 1,
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand Down Expand Up @@ -384,7 +387,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-11-30 15:29:43.744618",
"modified": "2024-12-06 15:23:05.252346",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order Item",
Expand All @@ -397,4 +400,4 @@
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ class SubcontractingOrderItem(Document):
include_exploded_items: DF.Check
item_code: DF.Link
item_name: DF.Data
job_card: DF.Link | None
manufacturer: DF.Link | None
manufacturer_part_no: DF.Data | None
material_request: DF.Link | None
material_request_item: DF.Data | None
page_break: DF.Check
parent: DF.Data
parentfield: DF.Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"fieldname": "total",
"fieldtype": "Currency",
"label": "Total",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand Down Expand Up @@ -618,6 +618,7 @@
"fieldname": "total_additional_costs",
"fieldtype": "Currency",
"label": "Total Additional Costs",
"options": "Company:company:default_currency",
"print_hide_if_no_value": 1,
"read_only": 1
},
Expand Down Expand Up @@ -656,27 +657,27 @@
"fieldtype": "Column Break"
},
{
"fieldname": "tab_other_info",
"fieldtype": "Tab Break",
"label": "Other Info"
"fieldname": "tab_other_info",
"fieldtype": "Tab Break",
"label": "Other Info"
},
{
"collapsible": 1,
"fieldname": "order_status_section",
"fieldtype": "Section Break",
"label": "Order Status"
"collapsible": 1,
"fieldname": "order_status_section",
"fieldtype": "Section Break",
"label": "Order Status"
},
{
"fieldname": "tab_connections",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
"fieldname": "tab_connections",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
}
],
"in_create": 1,
"is_submittable": 1,
"links": [],
"modified": "2024-05-28 15:02:13.517969",
"modified": "2024-12-06 15:24:38.384232",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Rate",
"options": "currency",
"options": "Company:company:default_currency",
"print_width": "100px",
"read_only": 1,
"width": "100px"
Expand All @@ -217,7 +217,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Amount",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand All @@ -231,6 +231,7 @@
"fieldtype": "Currency",
"label": "Raw Material Cost Per Qty",
"no_copy": 1,
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand All @@ -239,6 +240,7 @@
"fieldname": "service_cost_per_qty",
"fieldtype": "Currency",
"label": "Service Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1,
"reqd": 1
},
Expand All @@ -248,6 +250,7 @@
"fieldname": "additional_cost_per_qty",
"fieldtype": "Currency",
"label": "Additional Cost Per Qty",
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand Down Expand Up @@ -582,7 +585,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2024-03-29 15:42:43.425544",
"modified": "2024-12-06 15:23:58.680169",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt Item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class SubcontractingReceiptItem(Document):
is_scrap_item: DF.Check
item_code: DF.Link
item_name: DF.Data | None
job_card: DF.Link | None
manufacturer: DF.Link | None
manufacturer_part_no: DF.Data | None
page_break: DF.Check
Expand Down

0 comments on commit 2a17ecd

Please sign in to comment.