mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
Added first UI tests (#9532)
* [wip] * [tests] wip * [ui-tests] first-cut * [minor] remove old tests
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.utils.nestedset import get_root_of
|
||||
|
||||
def boot_session(bootinfo):
|
||||
"""boot session - send website info if guest"""
|
||||
import frappe
|
||||
|
||||
bootinfo.custom_css = frappe.db.get_value('Style Settings', None, 'custom_css') or ''
|
||||
bootinfo.website_settings = frappe.get_doc('Website Settings')
|
||||
@@ -16,6 +16,8 @@ def boot_session(bootinfo):
|
||||
update_page_info(bootinfo)
|
||||
|
||||
load_country_and_currency(bootinfo)
|
||||
bootinfo.sysdefaults.territory = get_root_of('Territory')
|
||||
bootinfo.sysdefaults.customer_group = get_root_of('Customer Group')
|
||||
|
||||
bootinfo.notification_settings = frappe.get_doc("Notification Control",
|
||||
"Notification Control")
|
||||
|
||||
Reference in New Issue
Block a user