mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
fix: test case for work order (#42723)
This commit is contained in:
@@ -634,7 +634,6 @@ class update_entries_after:
|
||||
|
||||
def get_sle_against_current_voucher(self):
|
||||
self.args["posting_datetime"] = get_combine_datetime(self.args.posting_date, self.args.posting_time)
|
||||
self.args["updated_creation_time"] = add_to_date(self.args.creation, seconds=-2)
|
||||
|
||||
return frappe.db.sql(
|
||||
"""
|
||||
@@ -649,7 +648,6 @@ class update_entries_after:
|
||||
and (
|
||||
posting_datetime = %(posting_datetime)s
|
||||
)
|
||||
and creation >= %(updated_creation_time)s
|
||||
order by
|
||||
creation ASC
|
||||
for update
|
||||
|
||||
Reference in New Issue
Block a user