fix: incorrect posting time fetching incorrect qty (#29103)
This commit is contained in:
parent
d0f5beeb34
commit
f02e6b4631
@ -86,8 +86,8 @@ def get_stock_balance(item_code, warehouse, posting_date=None, posting_time=None
|
||||
|
||||
from erpnext.stock.stock_ledger import get_previous_sle
|
||||
|
||||
if not posting_date: posting_date = nowdate()
|
||||
if not posting_time: posting_time = nowtime()
|
||||
if posting_date is None: posting_date = nowdate()
|
||||
if posting_time is None: posting_time = nowtime()
|
||||
|
||||
args = {
|
||||
"item_code": item_code,
|
||||
|
Loading…
x
Reference in New Issue
Block a user