Merge branch 'master' of github.com:webnotes/erpnext into stock_reco

Conflicts:
	patches/patch_list.py
	stock/report/stock_ledger/stock_ledger.txt
This commit is contained in:
Anand Doshi
2013-01-14 13:28:31 +05:30
21 changed files with 238 additions and 168 deletions

View File

@@ -53,11 +53,8 @@ class DocType:
ret['period'] = ['Annual','Half Yearly','Quarterly','Monthly']
# ---- get companies ---------
res = sql("select name from `tabCompany`")
for r in res:
comp.append(r[0])
#comp.append(r[0] for r in res)
ret['company'] = comp
from accounts.page.accounts_browser.accounts_browser import get_companies
ret['company'] = get_companies()
#--- to get fiscal year and start_date of that fiscal year -----
res = sql("select name, year_start_date from `tabFiscal Year`")

View File

@@ -146,6 +146,11 @@ wn.module_page["Accounts"] = [
"label":wn._("Financial Analytics"),
page: "financial-analytics"
},
{
"label":wn._("Trend Analyzer"),
route: "Report/Profile/Trend Analyzer",
doctype: "Sales Invoice"
},
]
},
{

View File

@@ -4,7 +4,7 @@
"docstatus": 0,
"creation": "2012-05-14 18:05:41",
"modified_by": "nabin@erpnext.com",
"modified": "2012-12-06 11:36:09"
"modified": "2012-12-06 11:36:10"
},
{
"custom_query": null,
@@ -18,7 +18,7 @@
"name": "__common__",
"doctype": "Search Criteria",
"sort_by": "`tabGL Entry`.`name`",
"criteria_name": "Creditor's Ledger"
"criteria_name": "Creditors Ledger"
},
{
"name": "creditors_ledger",

View File

@@ -4,7 +4,7 @@
"docstatus": 0,
"creation": "2012-05-14 18:05:42",
"modified_by": "nabin@erpnext.com",
"modified": "2012-12-06 11:37:15"
"modified": "2012-12-06 11:37:16"
},
{
"custom_query": null,
@@ -18,7 +18,7 @@
"name": "__common__",
"doctype": "Search Criteria",
"sort_by": "`tabGL Entry`.`name`",
"criteria_name": "Debtor's Ledger"
"criteria_name": "Debtors Ledger"
},
{
"name": "debtors_ledger",