From 61790801bbb9bbc9b2585d251cb6a090625ce64c Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Sun, 17 Jul 2011 10:52:47 +0530 Subject: [PATCH] patch to update new billing page --- patches/patch.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index f1841971c83..384ee2a0032 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 325 +last_patch = 326 #------------------------------------------- @@ -1294,3 +1294,7 @@ def execute(patch_no): elif patch_no == 325: sql("update `tabDocField` set fieldtype = 'Data' where parent = 'Salary Slip' and fieldname = 'total_days_in_month'") reload_doc('hr', 'doctype', 'salary_slip') + elif patch_no == 326: + # load the new billing page + if cint(webnotes.conn.get_value('Control Panel',None,'sync_with_gateway')): + reload_doc('server_tools','page','billing')