Update enable_scheduler_job_for_item_reposting.py

This commit is contained in:
rohitwaghchaure
2021-10-14 16:57:54 +05:30
committed by GitHub
parent 3f97413814
commit 230a5d4b39

View File

@@ -1,6 +1,5 @@
import frappe import frappe
def execute(): def execute():
frappe.reload_doc('core', 'doctype', 'scheduled_job_type') frappe.reload_doc('core', 'doctype', 'scheduled_job_type')
if frappe.db.exists('Scheduled Job Type', 'repost_item_valuation.repost_entries'): if frappe.db.exists('Scheduled Job Type', 'repost_item_valuation.repost_entries'):