Merge branch 'edge'

This commit is contained in:
Rushabh Mehta
2013-02-06 08:50:59 +05:30
16 changed files with 145 additions and 24 deletions

View File

@@ -25,6 +25,8 @@ from webnotes import msgprint
sql = webnotes.conn.sql
get_value = webnotes.conn.get_value
test_records = []
class DocType:
def __init__(self,d,dl):
self.doc, self.doclist = d,dl

View File

@@ -30,4 +30,7 @@ class DocType:
webnotes.clear_cache()
msgprint(self.doc.name + _(""" is now the default Fiscal Year. \
Please refresh your browser for the change to take effect."""))
Please refresh your browser for the change to take effect."""))
test_records = [[{"doctype":"Fiscal Year", "year":"_Test Fiscal Year",
"year_start_date":"2013-01-01"}]]