2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2015-05-25 05:21:01 +00:00
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2015-05-26 05:17:52 +00:00
|
|
|
frappe.reload_doctype("System Settings")
|
2015-05-25 05:21:01 +00:00
|
|
|
ss = frappe.get_doc("System Settings", "System Settings")
|
|
|
|
ss.email_footer_address = frappe.db.get_default("company")
|
2015-05-27 07:32:40 +00:00
|
|
|
ss.flags.ignore_mandatory = True
|
2015-05-25 05:21:01 +00:00
|
|
|
ss.save()
|