fix: patch to enable scheduled job for reposting
This commit is contained in:
parent
ee25ba07a2
commit
efc60ec2b5
@ -305,4 +305,5 @@ erpnext.patches.v13_0.modify_invalid_gain_loss_gl_entries #2
|
|||||||
erpnext.patches.v13_0.fix_additional_cost_in_mfg_stock_entry
|
erpnext.patches.v13_0.fix_additional_cost_in_mfg_stock_entry
|
||||||
erpnext.patches.v13_0.set_status_in_maintenance_schedule_table
|
erpnext.patches.v13_0.set_status_in_maintenance_schedule_table
|
||||||
erpnext.patches.v13_0.add_default_interview_notification_templates
|
erpnext.patches.v13_0.add_default_interview_notification_templates
|
||||||
|
erpnext.patches.v13_0.enable_scheduler_job_for_item_reposting
|
||||||
erpnext.patches.v13_0.requeue_failed_reposts
|
erpnext.patches.v13_0.requeue_failed_reposts
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
import frappe
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
frappe.reload_doc('core', 'doctype', 'scheduled_job_type')
|
||||||
|
if frappe.db.exists('Scheduled Job Type', 'repost_item_valuation.repost_entries'):
|
||||||
|
frappe.db.set_value('Scheduled Job Type',
|
||||||
|
'repost_item_valuation.repost_entries', 'stopped', 0)
|
Loading…
x
Reference in New Issue
Block a user