Merge pull request #25294 from rohitwaghchaure/changed-scheduler-check-time

fix: update scheduler check time
This commit is contained in:
rohitwaghchaure 2021-04-12 16:12:13 +05:30 committed by GitHub
commit 5e8ec48e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ def repost_entries():
check_if_stock_and_account_balance_synced(today(), d.name)
def get_repost_item_valuation_entries():
date = add_to_date(today(), hours=-12)
date = add_to_date(today(), hours=-3)
return frappe.db.sql(""" SELECT name from `tabRepost Item Valuation`
WHERE status != 'Completed' and creation <= %s and docstatus = 1