fix: Use system precision instead of SLE precision
This commit is contained in:
parent
a7ac01153e
commit
5467d7c3e3
@ -43,7 +43,7 @@ def get_data(item_code=None, warehouse=None, item_group=None,
|
|||||||
limit_start=start,
|
limit_start=start,
|
||||||
limit_page_length='21')
|
limit_page_length='21')
|
||||||
|
|
||||||
precision = get_field_precision(frappe.get_meta("Stock Ledger Entry").get_field("stock_value"))
|
precision = cint(frappe.db.get_single_value("System Settings", "float_precision"))
|
||||||
|
|
||||||
for item in items:
|
for item in items:
|
||||||
item.update({
|
item.update({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user