mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
patch to update new billing page
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 325
|
last_patch = 326
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@@ -1294,3 +1294,7 @@ def execute(patch_no):
|
|||||||
elif patch_no == 325:
|
elif patch_no == 325:
|
||||||
sql("update `tabDocField` set fieldtype = 'Data' where parent = 'Salary Slip' and fieldname = 'total_days_in_month'")
|
sql("update `tabDocField` set fieldtype = 'Data' where parent = 'Salary Slip' and fieldname = 'total_days_in_month'")
|
||||||
reload_doc('hr', 'doctype', 'salary_slip')
|
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')
|
||||||
|
|||||||
Reference in New Issue
Block a user