11 lines
389 B
Python
11 lines
389 B
Python
import webnotes
|
|
|
|
def execute():
|
|
webnotes.reload_doc("website", "doctype", "shopping_cart_settings")
|
|
|
|
# create two default territories, one for home country and one named Rest of the World
|
|
from setup.doctype.setup_control.setup_control import create_territories
|
|
create_territories()
|
|
|
|
webnotes.conn.set_value("Shopping Cart Settings", None, "default_territory", "Rest of the World")
|
|
|