fix: incorrect positional param for get_field_precision util (backport #50764) (#50795)

This commit is contained in:
mergify[bot]
2025-11-28 08:50:03 +00:00
committed by GitHub
parent 64e6b36d04
commit ff1ca9d480
4 changed files with 6 additions and 4 deletions

View File

@@ -185,7 +185,7 @@ def validate_quantity(doc, key, args, ref, valid_items, already_returned_items):
frappe.get_meta(doc.doctype + " Item").get_field(
"stock_qty" if doc.get("update_stock", "") else "qty"
),
company_currency,
currency=company_currency,
)
for column in fields: