mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
fix: patch to enable scheduled job for reposting (backport #27957)
* fix: patch to enable scheduled job for reposting (cherry picked from commitefc60ec2b5) # Conflicts: # erpnext/patches.txt * chore: formatting (cherry picked from commit3f97413814) * Update enable_scheduler_job_for_item_reposting.py (cherry picked from commit230a5d4b39) * fix: resolve conflict Co-authored-by: Rohit Waghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -323,4 +323,5 @@ erpnext.patches.v13_0.shopping_cart_to_ecommerce
|
||||
erpnext.patches.v13_0.set_status_in_maintenance_schedule_table
|
||||
erpnext.patches.v13_0.add_default_interview_notification_templates
|
||||
erpnext.patches.v13_0.trim_sales_invoice_custom_field_length
|
||||
erpnext.patches.v13_0.enable_scheduler_job_for_item_reposting
|
||||
erpnext.patches.v13_0.requeue_failed_reposts
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user