From 7282fce711d4421ea92edce48a4e28f936db825e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 30 Aug 2011 17:34:14 +0530 Subject: [PATCH 1/2] reload delivery note detail and item coustomer details --- patches/patch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patches/patch.py b/patches/patch.py index ca7c4d0584..2b7be9c9a5 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 349 +last_patch = 350 #------------------------------------------- @@ -269,4 +269,6 @@ def execute(patch_no): # reload profile with new fields for security delete_doc('DocType', 'Profile') reload_doc('core', 'doctype', 'profile') - + elif patch_no == 350: + reload_doc('stock', 'doctype', 'delivery_note_detail') + reload_doc('stock', 'doctype', 'item_customer_detail') From 93592132b204d8b75e1f86e4c1caece9a560131c Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 31 Aug 2011 11:27:51 +0530 Subject: [PATCH 2/2] reload dashboard --- hr/doctype/salary_manager/test_salary_manager.py | 2 +- patches/patch.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hr/doctype/salary_manager/test_salary_manager.py b/hr/doctype/salary_manager/test_salary_manager.py index e3df804b0d..c7d086747c 100644 --- a/hr/doctype/salary_manager/test_salary_manager.py +++ b/hr/doctype/salary_manager/test_salary_manager.py @@ -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]: diff --git a/patches/patch.py b/patches/patch.py index 2b7be9c9a5..38b853ad1f 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -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')