[fix] SMS Center
diff --git a/erpnext/selling/doctype/sms_center/sms_center.py b/erpnext/selling/doctype/sms_center/sms_center.py
index 8c4cad3..d53a20e 100644
--- a/erpnext/selling/doctype/sms_center/sms_center.py
+++ b/erpnext/selling/doctype/sms_center/sms_center.py
@@ -18,12 +18,10 @@
 			where_clause = self.customer and " and customer = '%s'" % \
 				self.customer.replace("'", "\'") or " and ifnull(customer, '') != ''"
 		if self.send_to == 'All Supplier Contact':
-			where_clause = self.supplier and \
-				" and ifnull(is_supplier, 0) = 1 and supplier = '%s'" % \
+			where_clause = self.supplier and " and supplier = '%s'" % \
 				self.supplier.replace("'", "\'") or " and ifnull(supplier, '') != ''"
 		if self.send_to == 'All Sales Partner Contact':
-			where_clause = self.sales_partner and \
-				" and ifnull(is_sales_partner, 0) = 1 and sales_partner = '%s'" % \
+			where_clause = self.sales_partner and " and sales_partner = '%s'" % \
 				self.sales_partner.replace("'", "\'") or " and ifnull(sales_partner, '') != ''"
 
 		if self.send_to in ['All Contact', 'All Customer Contact', 'All Supplier Contact', 'All Sales Partner Contact']: