brotherton-erpnext/patches/1311/p01_cleanup.py
2013-11-03 20:37:49 +05:30

6 lines
293 B
Python

import webnotes
def execute():
from core.doctype.custom_field.custom_field import delete_and_create_custom_field_if_values_exist
delete_and_create_custom_field_if_values_exist("Material Request",
{"fieldtype":"Text", "fieldname":"remark", "label":"Remarks","insert_after":"Fiscal Year"})