This commit is contained in:
Ravi Dey 2011-06-24 15:53:51 +05:30
parent e2f9ddec8e
commit 26c160f951

View File

@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
last_patch = 296
last_patch = 295
#-------------------------------------------
@ -1177,4 +1177,5 @@ def execute(patch_no):
sql("update `tabDocField` set options = 'Delivered\nNot Delivered\nPartly Delivered\nClosed\nNot Applicable' where parent = 'Sales Order' and fieldname = 'delivery_status'")
sql("update `tabDocField` set options = 'Billed\nNot Billed\nPartly Billed\nClosed' where parent = 'Sales Order' and fieldname = 'billing_status'")
elif patch_no == 296:
reload_doc('maintenance', 'doctype', 'support_ticket')
sql("delete from tabDocField where parent='Support Ticket' and fieldname='contact_no'")
reload_doc('maintenance', 'doctype', 'support_ticket')