fix(cart): Don't use window.open as it can be blocked

window.open calls are interpreted as popups by some browsers and are
blocked.

Also, route to Quotation web view instead of printview.
diff --git a/erpnext/templates/includes/cart.js b/erpnext/templates/includes/cart.js
index 983898b..f26aff4 100644
--- a/erpnext/templates/includes/cart.js
+++ b/erpnext/templates/includes/cart.js
@@ -162,8 +162,7 @@
 						.html(msg || frappe._("Something went wrong!"))
 						.toggle(true);
 				} else {
-					window.open('/orders/' + encodeURIComponent(r.message), '_blank');
-					window.location.reload();
+					window.location.href = '/orders/' + encodeURIComponent(r.message);
 				}
 			}
 		});
@@ -186,8 +185,7 @@
 						.html(msg || frappe._("Something went wrong!"))
 						.toggle(true);
 				} else {
-					window.open('/printview?doctype=Quotation&name=' + r.message, '_blank');
-					window.location.reload();
+					window.location.href = '/quotations/' + encodeURIComponent(r.message);
 				}
 			}
 		});