Skip to content

Commit

Permalink
fix: currency symbol in SCO and SCR (#44577)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Dec 7, 2024
1 parent d871e21 commit 8806d17
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 28 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-03-27 13:10:46.060843",
"modified": "2024-12-06 15:21:49.924146",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Rate",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1,
"reqd": 1
},
Expand All @@ -202,7 +202,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 @@ -272,6 +272,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 @@ -280,13 +281,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 @@ -403,7 +406,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2024-03-27 13:12:46.343298",
"modified": "2024-12-06 15:23:05.252346",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order Item",
Expand Down
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-27 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 @@ -208,7 +208,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 @@ -218,7 +218,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Amount",
"options": "currency",
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand All @@ -232,6 +232,7 @@
"fieldtype": "Currency",
"label": "Raw Material Cost Per Qty",
"no_copy": 1,
"options": "Company:company:default_currency",
"read_only": 1
},
{
Expand All @@ -240,6 +241,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 @@ -249,6 +251,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 @@ -591,7 +594,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2024-03-29 15:43: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 8806d17

Please sign in to comment.