fix(minor): routing
This commit is contained in:
parent
ab1c2b7631
commit
f8a6dde8d8
@ -234,7 +234,7 @@ frappe.help.help_links['company'] = [
|
|||||||
|
|
||||||
//Accounts
|
//Accounts
|
||||||
|
|
||||||
frappe.help.help_links['space/Accounts'] = [
|
frappe.help.help_links['accounts'] = [
|
||||||
{ label: 'Introduction to Accounts', url: docsUrl + 'user/manual/en/accounts/' },
|
{ label: 'Introduction to Accounts', url: docsUrl + 'user/manual/en/accounts/' },
|
||||||
{ label: 'Chart of Accounts', url: docsUrl + 'user/manual/en/accounts/chart-of-accounts.html' },
|
{ label: 'Chart of Accounts', url: docsUrl + 'user/manual/en/accounts/chart-of-accounts.html' },
|
||||||
{ label: 'Multi Currency Accounting', url: docsUrl + 'user/manual/en/accounts/multi-currency-accounting' },
|
{ label: 'Multi Currency Accounting', url: docsUrl + 'user/manual/en/accounts/multi-currency-accounting' },
|
||||||
|
@ -417,7 +417,7 @@
|
|||||||
"type": "Link"
|
"type": "Link"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"modified": "2020-12-16 10:24:52.088466",
|
"modified": "2021-01-01 12:13:16.055668",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Setup",
|
"module": "Setup",
|
||||||
"name": "Home",
|
"name": "Home",
|
||||||
|
@ -6,13 +6,13 @@ from frappe.contacts.address_and_contact import filter_dynamic_link_doctypes
|
|||||||
class TestSearch(unittest.TestCase):
|
class TestSearch(unittest.TestCase):
|
||||||
# Search for the word "cond", part of the word "conduire" (Lead) in french.
|
# Search for the word "cond", part of the word "conduire" (Lead) in french.
|
||||||
def test_contact_search_in_foreign_language(self):
|
def test_contact_search_in_foreign_language(self):
|
||||||
frappe.local.lang = 'fr'
|
try:
|
||||||
output = filter_dynamic_link_doctypes("DocType", "cond", "name", 0, 20, {
|
frappe.local.lang = 'fr'
|
||||||
'fieldtype': 'HTML',
|
output = filter_dynamic_link_doctypes("DocType", "cond", "name", 0, 20, {
|
||||||
'fieldname': 'contact_html'
|
'fieldtype': 'HTML',
|
||||||
})
|
'fieldname': 'contact_html'
|
||||||
result = [['found' for x in y if x=="Lead"] for y in output]
|
})
|
||||||
self.assertTrue(['found'] in result)
|
result = [['found' for x in y if x=="Lead"] for y in output]
|
||||||
|
self.assertTrue(['found'] in result)
|
||||||
def tearDown(self):
|
finally:
|
||||||
frappe.local.lang = 'en'
|
frappe.local.lang = 'en'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user