Merge pull request #11401 from anupamvs/newsletter-fix

fix: Newsletter fix
This commit is contained in:
Shivam Mishra 2020-09-02 17:28:30 +05:30 committed by GitHub
commit 96e003af2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,8 @@ from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doc('email', 'doctype', 'Newsletter')
frappe.db.sql("""
UPDATE tabNewsletter
SET content_type = 'Rich Text'
""")
frappe.reload_doc('email', 'doctype', 'Newsletter')
frappe.db.sql("""
UPDATE tabNewsletter
SET content_type = 'Rich Text'
""")