fix: reposting issue with same posting date and posting time (#24570)
* fix: reposting issue with same posting date and posting time * Update erpnext/stock/stock_ledger.py Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
parent
e37a5c2646
commit
aa00eb9898
@ -202,8 +202,7 @@ class update_entries_after(object):
|
|||||||
where
|
where
|
||||||
item_code = %(item_code)s
|
item_code = %(item_code)s
|
||||||
and warehouse = %(warehouse)s
|
and warehouse = %(warehouse)s
|
||||||
and voucher_type = %(voucher_type)s
|
and timestamp(posting_date, time_format(posting_time, '%H:%i:%s')) = timestamp(%(posting_date)s, time_format(%(posting_time)s, '%H:%i:%s'))
|
||||||
and voucher_no = %(voucher_no)s
|
|
||||||
order by
|
order by
|
||||||
creation ASC
|
creation ASC
|
||||||
for update
|
for update
|
||||||
|
Loading…
Reference in New Issue
Block a user