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 16:25:59 +05:30
webnotes.reload_doc("Setup", "DocType", "Price List")
webnotes.conn.sql("""update `tabPrice List` set valid_for_all_countries=1""")