mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
[Foundation Fellowship] Change website to website_url
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,7 @@ class FoundationFellowship(WebsiteGenerator):
|
||||
website = frappe._dict(
|
||||
condition_field = "show_in_website"
|
||||
)
|
||||
print( "website", website )
|
||||
|
||||
def validate(self):
|
||||
if not self.route:
|
||||
self.route = 'foundation-fellow/' + self.scrub(self.name)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
foundation.patches.v0_0.update_erpnext_job_route
|
||||
foundation.patches.v0_0.update_erpnext_job_route
|
||||
foundation.patches.v0_0.change_website_to_website_url
|
||||
|
||||
6
foundation/patches/v0_0/change_website_to_website_url.py
Normal file
6
foundation/patches/v0_0/change_website_to_website_url.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.db.sql('''
|
||||
ALTER TABLE `tabFoundation Fellowship` CHANGE `website` `website_url` varchar(140);
|
||||
''')
|
||||
Reference in New Issue
Block a user