brotherton-erpnext/patches/april_2013/p08_price_list_country.py
2013-05-02 16:25:59 +05:30

5 lines
165 B
Python

import webnotes
def execute():
webnotes.reload_doc("Setup", "DocType", "Price List")
webnotes.conn.sql("""update `tabPrice List` set valid_for_all_countries=1""")