commit | e3bd78e9124c387b31f41cc582d51ec635a20bfd | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Fri Apr 22 18:53:21 2016 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Fri Apr 22 18:53:21 2016 +0530 |
tree | 6eebb0ee12d0ceb28120818f749cba107ee9e11b | |
parent | e0818f8f462d186dd7ffc4206e8062e23d281470 [diff] [blame] |
[css] portal
diff --git a/erpnext/templates/pages/home.py b/erpnext/templates/pages/home.py index af75097..9488efe 100644 --- a/erpnext/templates/pages/home.py +++ b/erpnext/templates/pages/home.py
@@ -9,6 +9,13 @@ no_cache = 1 no_sitemap = 1 +def get_context(context): + homepage = frappe.get_doc('Homepage') + return { + 'homepage': homepage + } + + @frappe.whitelist(allow_guest=True) def get_product_list(search=None, start=0, limit=6): # limit = 12 because we show 12 items in the grid view