fix: update scheduler check tim

This commit is contained in:
Rohit Waghchaure 2021-04-12 16:09:55 +05:30
parent 49336b8065
commit 2339de7333

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