mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
Update enable_scheduler_job_for_item_reposting.py
This commit is contained in:
@@ -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'):
|
||||||
|
|||||||
Reference in New Issue
Block a user