brotherton-erpnext/patches/april_2013/p08_price_list_country.py

5 lines
165 B
Python
Raw Normal View History

import webnotes
def execute():
2013-05-02 10:55:59 +00:00
webnotes.reload_doc("Setup", "DocType", "Price List")
webnotes.conn.sql("""update `tabPrice List` set valid_for_all_countries=1""")