fix: change fieldtype from Currency to Float for the valuation rate in the stock report
(cherry picked from commit c82cb379a5)
This commit is contained in:
committed by
Mergify
parent
6d051f5732
commit
93bd4c7ff3
@@ -430,10 +430,9 @@ class StockBalanceReport(object):
|
|||||||
{
|
{
|
||||||
"label": _("Valuation Rate"),
|
"label": _("Valuation Rate"),
|
||||||
"fieldname": "val_rate",
|
"fieldname": "val_rate",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Float",
|
||||||
"width": 90,
|
"width": 90,
|
||||||
"convertible": "rate",
|
"convertible": "rate",
|
||||||
"options": "currency",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _("Company"),
|
"label": _("Company"),
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ def get_columns(filters):
|
|||||||
{
|
{
|
||||||
"label": _("Avg Rate (Balance Stock)"),
|
"label": _("Avg Rate (Balance Stock)"),
|
||||||
"fieldname": "valuation_rate",
|
"fieldname": "valuation_rate",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Float",
|
||||||
"width": 180,
|
"width": 180,
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
"convertible": "rate",
|
"convertible": "rate",
|
||||||
@@ -204,7 +204,7 @@ def get_columns(filters):
|
|||||||
{
|
{
|
||||||
"label": _("Valuation Rate"),
|
"label": _("Valuation Rate"),
|
||||||
"fieldname": "in_out_rate",
|
"fieldname": "in_out_rate",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Float",
|
||||||
"width": 140,
|
"width": 140,
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
"convertible": "rate",
|
"convertible": "rate",
|
||||||
|
|||||||
Reference in New Issue
Block a user