From 21645959339582f296d80478f09a42ef0117f2d3 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 10 Dec 2015 18:09:57 +0530 Subject: [PATCH] [fix] Ignore permissions while creating sms logs --- erpnext/setup/doctype/sms_settings/sms_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/setup/doctype/sms_settings/sms_settings.py b/erpnext/setup/doctype/sms_settings/sms_settings.py index d0df33a86e..d0f4065642 100644 --- a/erpnext/setup/doctype/sms_settings/sms_settings.py +++ b/erpnext/setup/doctype/sms_settings/sms_settings.py @@ -119,4 +119,5 @@ def create_sms_log(args, sent_to): sl.requested_numbers = "\n".join(args['receiver_list']) sl.no_of_sent_sms = len(sent_to) sl.sent_to = "\n".join(sent_to) + sl.flags.ignore_permissions = True sl.save()