mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +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):
|
def get_sle_against_current_voucher(self):
|
||||||
self.args["posting_datetime"] = get_combine_datetime(self.args.posting_date, self.args.posting_time)
|
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(
|
return frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
@@ -649,7 +648,6 @@ class update_entries_after:
|
|||||||
and (
|
and (
|
||||||
posting_datetime = %(posting_datetime)s
|
posting_datetime = %(posting_datetime)s
|
||||||
)
|
)
|
||||||
and creation >= %(updated_creation_time)s
|
|
||||||
order by
|
order by
|
||||||
creation ASC
|
creation ASC
|
||||||
for update
|
for update
|
||||||
|
|||||||
Reference in New Issue
Block a user