Merge pull request #36388 from frappe/mergify/bp/version-14-hotfix/pr-36380

fix: change fieldtype from Currency to Float for the valuation rate in reports (backport #36380)
This commit is contained in:
rohitwaghchaure
2023-07-29 12:06:37 +05:30
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -430,10 +430,9 @@ class StockBalanceReport(object):
{
"label": _("Valuation Rate"),
"fieldname": "val_rate",
"fieldtype": "Currency",
"fieldtype": "Float",
"width": 90,
"convertible": "rate",
"options": "currency",
},
{
"label": _("Company"),

View File

@@ -196,7 +196,7 @@ def get_columns(filters):
{
"label": _("Avg Rate (Balance Stock)"),
"fieldname": "valuation_rate",
"fieldtype": "Currency",
"fieldtype": "Float",
"width": 180,
"options": "Company:company:default_currency",
"convertible": "rate",
@@ -204,7 +204,7 @@ def get_columns(filters):
{
"label": _("Valuation Rate"),
"fieldname": "in_out_rate",
"fieldtype": "Currency",
"fieldtype": "Float",
"width": 140,
"options": "Company:company:default_currency",
"convertible": "rate",