From f4bbbc705204aa027d2d8fdadcd10f7b401f0172 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 30 Aug 2011 17:40:48 +0530 Subject: [PATCH 1/3] reload delivery note detail and item coustomer details --- patches/patch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index 9a2bb8371c..f5b7fe8657 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 343 +last_patch = 344 #------------------------------------------- @@ -1425,3 +1425,6 @@ def execute(patch_no): sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry Detail' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')") elif patch_no == 343: sql("delete from `tabDocFormat` where ifnull(format, '') = '' and parent = 'Delivery Note'") + elif patch_no == 344: + reload_doc('stock', 'doctype', 'delivery_note_detail') + reload_doc('stock', 'doctype', 'item_customer_detail') From 8ccaed3e2d1bc13742f87d2e236b8105768d4675 Mon Sep 17 00:00:00 2001 From: Brahma K Date: Wed, 7 Sep 2011 11:26:17 +0530 Subject: [PATCH 2/3] added feature setup to setup list --- setup/page/setup/setup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/page/setup/setup.js b/setup/page/setup/setup.js index b29e7ad9e0..7c1245ad29 100644 --- a/setup/page/setup/setup.js +++ b/setup/page/setup/setup.js @@ -172,7 +172,8 @@ SetupData = function(cnty){ ['Property Setter',1,'Property Setter','', 'Customize properties of a Form (DocType) or Field'], ['Letter Head',1,'Letter Head','','Manage different letter heads for Prints'], ['SMS Settings',3,'SMS Settings','','Integrate your personalized SMS gateway which support http web service'], - ['SMS Center',3,'SMS Center','','Send mass sms to your leads, contacts and partners'] + ['SMS Center',3,'SMS Center','','Send mass sms to your leads, contacts and partners'], + ['Features Setup',3,'Features Setup','','Displays fields based on features selected'] ]}; From 8c572e1fb10cb4582743ff4b912c9f6548f1583b Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 7 Sep 2011 11:41:22 +0530 Subject: [PATCH 3/3] corrected spelling mistake in patch --- patches/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index e815865e84..f550aa9b26 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -293,7 +293,7 @@ def execute(patch_no): elif patch_no == 353: reload_doc('hr', 'doctype', 'salary_manager') elif patch_no == 354: - reload_doc('setup', 'doctype','feature_setup') + reload_doc('setup', 'doctype','features_setup') reload_doc('stock','doctype','item') sql("update tabDocField set label='Produced Qty',description='Updated after finished goods are transferred to FG Warehouse through Stock Entry' where parent='Production Order' and fieldname='produced_qty'") rs = sql("select fieldname from tabDocField where parent='Features Setup' and fieldname is not null")