fix: change fieldtype from Currency to Float for the valuation rate in the stock report

This commit is contained in:
Rohit Waghchaure 2023-07-28 17:21:05 +05:30
parent 89aa6f0269
commit c82cb379a5
2 changed files with 3 additions and 4 deletions

View File

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

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",