reload dashboard

This commit is contained in:
Nabin Hait 2011-08-31 11:27:51 +05:30
parent 7282fce711
commit 93592132b2
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from webnotes.model.doc import Document
from webnotes.model.code import get_obj
sql = webnotes.conn.sql
class TestSalarySlip(unittest.TestCase):
class TestSalaryManager(unittest.TestCase):
def setUp(self):
webnotes.conn.begin()
for rec in [des1, dep1, branch1, grade1, comp1, emp1, emp2]:

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 350
last_patch = 351
#-------------------------------------------
@ -272,3 +272,5 @@ def execute(patch_no):
elif patch_no == 350:
reload_doc('stock', 'doctype', 'delivery_note_detail')
reload_doc('stock', 'doctype', 'item_customer_detail')
elif patch_no == 351:
reload_doc('home', 'page', 'dashboard')