brotherton-erpnext/erpnext/patches/v5_0/update_sms_sender.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
338 B
Python
Raw Normal View History

# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and Contributors
2015-03-02 07:31:39 +00:00
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
def execute():
frappe.db.set_value("SMS Settings", "SMS Settings", "sms_sender_name",
frappe.db.get_single_value("Global Defaults", "sms_sender_name"))