[ui cleanup] [minor]
This commit is contained in:
parent
0d62fe821d
commit
3b9e864dec
@ -1,6 +1,9 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("stock", "doctype", "material_request")
|
||||
webnotes.reload_doc("buying", "doctype", "purchase_order")
|
||||
webnotes.reload_doc("selling", "doctype", "lead")
|
||||
from core.doctype.custom_field.custom_field import create_custom_field_if_values_exist
|
||||
create_custom_field_if_values_exist("Material Request",
|
||||
{"fieldtype":"Text", "fieldname":"remark", "label":"Remarks","insert_after":"Fiscal Year"})
|
||||
|
@ -20,7 +20,7 @@ def execute():
|
||||
from core.doctype.custom_script.custom_script import make_custom_server_script_file
|
||||
for name, dt, script in webnotes.conn.sql("""select name, dt, script from `tabCustom Script`
|
||||
where script_type='Server'"""):
|
||||
if script.strip():
|
||||
if script and script.strip():
|
||||
try:
|
||||
script = indent_using_tabs(script)
|
||||
make_custom_server_script_file(dt, script)
|
||||
|
@ -238,4 +238,5 @@ patch_list = [
|
||||
"patches.june_2013.p07_taxes_price_list_for_territory",
|
||||
"patches.october_2013.p08_cleanup_after_item_price_module_change",
|
||||
"patches.october_2013.p10_plugins_refactor",
|
||||
"patches.1311.p01_cleanup",
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user