[webshop] territories in price list, taxes, updates in shopping cart settings

This commit is contained in:
Anand Doshi
2013-06-21 17:55:31 +05:30
parent d52b03a8cc
commit 61a2f68bc6
33 changed files with 462 additions and 137 deletions

View File

@@ -137,8 +137,10 @@ def import_defaults():
{'doctype': 'Supplier Type', 'name': 'Default Supplier Type', 'supplier_type': 'Default Supplier Type'},
# Price List
{'doctype': 'Price List', 'name': 'Default Price List', 'price_list_name': 'Default Price List'},
{'doctype': 'Price List', 'name': 'Standard', 'price_list_name': 'Standard'},
{'doctype': 'Price List', 'name': 'Default Price List', 'price_list_name': 'Default Price List',
"buying_or_selling": "Selling"},
{'doctype': 'Price List', 'name': 'Standard', 'price_list_name': 'Standard',
"buying_or_selling": "Selling"},
# warehouse type
{'doctype': 'Warehouse Type', 'name': 'Default Warehouse Type', 'warehouse_type': 'Default Warehouse Type'},
@@ -174,6 +176,6 @@ def import_defaults():
]
for r in records:
doc = webnotes.doc(r)
doc.insert()
bean = webnotes.bean(r)
bean.insert()