seitime-frappe/frappe/patches/v7_2/fix_email_queue_recipient.py
2017-01-19 11:59:58 +05:30

5 lines
No EOL
173 B
Python

import frappe
def execute():
frappe.reload_doc('email', 'doctype', 'email_queue_recipient')
frappe.db.sql('update `tabEmail Queue Recipient` set parenttype="recipients"')