[Fix] Resolved the type issue of 'is_saved' flag variable
diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.py b/erpnext/selling/page/point_of_sale/point_of_sale.py
index 938c05d..4a5637d 100644
--- a/erpnext/selling/page/point_of_sale/point_of_sale.py
+++ b/erpnext/selling/page/point_of_sale/point_of_sale.py
@@ -92,7 +92,7 @@
if isinstance(doc, basestring):
args = json.loads(doc)
- if(is_saved == 1):
+ if(int(is_saved) == 1):
doc = frappe.get_doc('Sales Invoice',args["name"])
else:
doc = frappe.new_doc('Sales Invoice')