mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-11 05:31:48 +00:00
fix: get_valuation_method takes no company argument on version-15
This commit is contained in:
@@ -55,8 +55,7 @@ def add_invariant_check_fields(sles, filters):
|
||||
balance_qty = 0.0
|
||||
balance_stock_value = 0.0
|
||||
|
||||
company = frappe.get_cached_value("Warehouse", filters.warehouse, "company")
|
||||
valuation_method = get_valuation_method(filters.item_code, company)
|
||||
valuation_method = get_valuation_method(filters.item_code)
|
||||
|
||||
incorrect_idx = None
|
||||
float_precision = cint(frappe.db.get_single_value("System Settings", "float_precision")) or 3
|
||||
|
||||
Reference in New Issue
Block a user