mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
[fix] rename jobs page to erpnext-job to avoid conflict with erpnext's job application
This commit is contained in:
0
foundation/patches/__init__.py
Normal file
0
foundation/patches/__init__.py
Normal file
0
foundation/patches/v0_0/__init__.py
Normal file
0
foundation/patches/v0_0/__init__.py
Normal file
7
foundation/patches/v0_0/update_erpnext_job_route.py
Normal file
7
foundation/patches/v0_0/update_erpnext_job_route.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
for job in frappe.get_all("Portal Job"):
|
||||
print job.name
|
||||
frappe.db.set_value("Portal Job", job.name, "route", "erpnext-job/{0}".format(job.name.encode('utf-8')),
|
||||
update_modified=False)
|
||||
Reference in New Issue
Block a user