From 81af2294667e5d9a3715ee58b87db3ea9bafe51a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 9 Dec 2016 17:29:19 +0530 Subject: [PATCH] [minor] google analytics id in docs and minor fixes to web forms --- .../accounts/doctype/account/account_tree.js | 4 +-- erpnext/config/docs.py | 6 +++- erpnext/support/web_form/issues/issues.json | 28 ++++++++++++++- .../web_form/addresses/addresses.json | 35 ++++++++++++++++++- 4 files changed, 68 insertions(+), 5 deletions(-) diff --git a/erpnext/accounts/doctype/account/account_tree.js b/erpnext/accounts/doctype/account/account_tree.js index fc6a1b454ef..8c7925a3ff4 100644 --- a/erpnext/accounts/doctype/account/account_tree.js +++ b/erpnext/accounts/doctype/account/account_tree.js @@ -30,8 +30,8 @@ frappe.treeview_settings["Account"] = { options: ['Asset', 'Liability', 'Equity', 'Income', 'Expense'].join('\n'), depends_on: 'eval:doc.is_group && !doc.parent_account'}, {fieldtype:'Select', fieldname:'account_type', label:__('Account Type'), - options: ['', 'Accumulated Depreciation', 'Bank', 'Cash', 'Chargeable', 'Cost of Goods Sold', 'Depreciation', - 'Equity', 'Expense Account', 'Expenses Included In Valuation', 'Fixed Asset', 'Income Account', 'Payable', 'Receivable', + options: ['', 'Accumulated Depreciation', 'Bank', 'Cash', 'Chargeable', 'Cost of Goods Sold', 'Depreciation', + 'Equity', 'Expense Account', 'Expenses Included In Valuation', 'Fixed Asset', 'Income Account', 'Payable', 'Receivable', 'Round Off', 'Stock', 'Stock Adjustment', 'Stock Received But Not Billed', 'Tax', 'Temporary'].join('\n'), description: __("Optional. This setting will be used to filter in various transactions.") }, diff --git a/erpnext/config/docs.py b/erpnext/config/docs.py index 7b6915af92e..2d2cc0a8925 100644 --- a/erpnext/config/docs.py +++ b/erpnext/config/docs.py @@ -1,3 +1,7 @@ +from __future__ import unicode_literals + +docs_version = "7.x.x" + source_link = "https://github.com/frappe/erpnext" docs_base_url = "https://frappe.github.io/erpnext" headline = "ERPNext Documentation" @@ -15,8 +19,8 @@ ERPNext is Open Source under the GNU General Public Licence v3 and has been listed as one of the Best Open Source Softwares in the world by many online blogs.""" -docs_version = "7.x.x" splash_light_background = True +google_analytics_id = 'UA-8911157-22' def get_context(context): context.brand_html = ('