brotherton-erpnext/startup/webutils.py

10 lines
287 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
2013-09-10 12:59:39 +00:00
import webnotes
from webnotes.utils import cint
2013-09-10 10:19:18 +00:00
def get_website_settings():
return {
"shopping_cart_enabled": cint(webnotes.conn.get_default("shopping_cart_enabled"))
}