remove depricated default fileds
This commit is contained in:
parent
ca39b180f5
commit
6e9a1284d4
@ -5,7 +5,7 @@ last_patch = 388
|
||||
|
||||
#-------------------------------------------
|
||||
|
||||
def execute(patch_no):
|
||||
def execute_depricated(patch_no):
|
||||
import webnotes
|
||||
from webnotes.modules.module_manager import reload_doc
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("""\
|
||||
DELETE FROM `tabDefaultValue`
|
||||
WHERE parent='Control Panel' AND defkey='page_break'""")
|
||||
webnotes.conn.sql("""delete from `tabDefaultValue` where defkey in ('page_break', 'projects', 'packing_details', 'discounts', 'brands', 'item_batch_nos', 'after_sales_installations', 'item_searial_nos', 'item_group_in_details', 'exports', 'imports', 'item_advanced', 'sales_extras', 'more_info', 'quality', 'manufacturing', 'pos', 'item_serial_nos', 'purchase_discounts', 'recurring_invoice') and parent = 'Control Panel'""")
|
||||
|
Loading…
Reference in New Issue
Block a user