Merge pull request #3300 from rmehta/pos-setting-rename
[rename] POS Setting > POS Profile #3271
diff --git a/erpnext/__version__.py b/erpnext/__version__.py
index 7d2298f..721b475 100644
--- a/erpnext/__version__.py
+++ b/erpnext/__version__.py
@@ -1,2 +1,2 @@
from __future__ import unicode_literals
-__version__ = '5.0.5'
+__version__ = '5.0.6'
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index aa8638e..c16d9b1 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -5,7 +5,7 @@
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
app_icon = "icon-th"
app_color = "#e74c3c"
-app_version = "5.0.5"
+app_version = "5.0.6"
error_report_email = "support@erpnext.com"
diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js
index 1725de7..d717e20 100644
--- a/erpnext/selling/doctype/quotation/quotation.js
+++ b/erpnext/selling/doctype/quotation/quotation.js
@@ -34,8 +34,7 @@
method: "erpnext.crm.doctype.opportunity.opportunity.make_quotation",
source_doctype: "Opportunity",
get_query_filters: {
- docstatus: 1,
- status: "Submitted",
+ status: ["not in", ["Lost", "Closed"]],
enquiry_type: cur_frm.doc.order_type,
customer: cur_frm.doc.customer || undefined,
lead: cur_frm.doc.lead || undefined,
diff --git a/setup.py b/setup.py
index 669c901..31eea3d 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
-version = "5.0.5"
+version = "5.0.6"
with open("requirements.txt", "r") as f:
install_requires = f.readlines()