fix: update scheduler check tim

This commit is contained in:
Rohit Waghchaure 2021-04-12 16:09:55 +05:30
parent c39720db50
commit bda4c5cc52

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