brotherton-erpnext/erpnext/patches/may_2012/cleanup_property_setter.py

6 lines
246 B
Python
Raw Normal View History

2012-05-02 05:02:28 +00:00
def execute():
import webnotes
webnotes.conn.sql("delete from `tabProperty Setter` where property in ('width', 'previous_field')")
2012-05-02 05:06:16 +00:00
webnotes.conn.sql("delete from `tabSingles` where field = 'footer_font_color' and doctype = 'Style Settings'")