brotherton-erpnext/erpnext/patches/print_hide_price_list.py
2011-12-22 19:04:49 +05:30

4 lines
160 B
Python

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set print_hide = 1 where fieldname in ('price_list_currency', 'plc_conversion_rate')")