fix: Sider
This commit is contained in:
parent
4038977e2e
commit
8c441263f8
@ -875,8 +875,6 @@ def get_valuation_rate(item_code, warehouse, voucher_type, voucher_no,
|
|||||||
def update_qty_in_future_sle(args, allow_negative_stock=None):
|
def update_qty_in_future_sle(args, allow_negative_stock=None):
|
||||||
"""Recalculate Qty after Transaction in future SLEs based on current SLE."""
|
"""Recalculate Qty after Transaction in future SLEs based on current SLE."""
|
||||||
datetime_limit_condition = ""
|
datetime_limit_condition = ""
|
||||||
last_balance = None
|
|
||||||
|
|
||||||
qty_shift = args.actual_qty
|
qty_shift = args.actual_qty
|
||||||
|
|
||||||
# find difference/shift in qty caused by stock reconciliation
|
# find difference/shift in qty caused by stock reconciliation
|
||||||
@ -954,8 +952,6 @@ def get_next_stock_reco(args):
|
|||||||
""", args, as_dict=1)
|
""", args, as_dict=1)
|
||||||
|
|
||||||
def get_datetime_limit_condition(detail):
|
def get_datetime_limit_condition(detail):
|
||||||
if not detail: return None
|
|
||||||
|
|
||||||
return f"""
|
return f"""
|
||||||
and
|
and
|
||||||
(timestamp(posting_date, posting_time) < timestamp('{detail.posting_date}', '{detail.posting_time}')
|
(timestamp(posting_date, posting_time) < timestamp('{detail.posting_date}', '{detail.posting_time}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user