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

fix: update scheduler check time
This commit is contained in:
rohitwaghchaure
2021-04-12 16:15:33 +05:30
committed by GitHub

View File

@@ -126,7 +126,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