brotherton-erpnext/erpnext/patches/print_hide_price_list.py

4 lines
160 B
Python
Raw Normal View History

2011-12-22 13:34:49 +00:00
def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set print_hide = 1 where fieldname in ('price_list_currency', 'plc_conversion_rate')")