[shopping-cart] cart via Jinja WIP

This commit is contained in:
Rushabh Mehta
2015-09-16 18:52:52 +05:30
parent 156ce607e2
commit 3d76686b82
16 changed files with 208 additions and 138 deletions

View File

@@ -122,7 +122,8 @@ def update_cart_address(address_fieldname, address_name):
quotation.flags.ignore_permissions = True
quotation.save()
return get_cart_quotation(quotation)
return frappe.render_template("templates/includes/cart/cart_address.html",
get_cart_quotation(quotation))
def guess_territory():
territory = None