2015-05-25 10:51:01 +05:30
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2015-05-26 10:47:52 +05:30
|
|
|
frappe.reload_doctype("System Settings")
|
2015-05-25 10:51:01 +05:30
|
|
|
ss = frappe.get_doc("System Settings", "System Settings")
|
|
|
|
ss.email_footer_address = frappe.db.get_default("company")
|
2015-05-27 13:02:40 +05:30
|
|
|
ss.flags.ignore_mandatory = True
|
2015-05-25 10:51:01 +05:30
|
|
|
ss.save()
|