Merge pull request #36380 from rohitwaghchaure/fixed-fieldtype-from-currency-to-flt

fix: change fieldtype from Currency to Float for the valuation rate in reports
This commit is contained in:
rohitwaghchaure 2023-07-28 20:35:46 +05:30 committed by GitHub
commit ee7da639e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",