[fix] rename jobs page to erpnext-job to avoid conflict with erpnext's job application

This commit is contained in:
Saurabh
2017-03-22 16:38:53 +05:30
parent cb45cd5a13
commit 7b6be6c6b4
9 changed files with 21 additions and 13 deletions

View File

View File

View 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)