diff --git a/erpnext/patches/remove_extra_button_from_email_digest.py b/erpnext/patches/remove_extra_button_from_email_digest.py new file mode 100644 index 0000000000..7005db9729 --- /dev/null +++ b/erpnext/patches/remove_extra_button_from_email_digest.py @@ -0,0 +1,8 @@ +def execute(): + import webnotes + webnotes.conn.sql(""" + DELETE FROM tabDocField + WHERE parent = 'Email Digest' + AND label = 'Add Recipients' + AND fieldtype = 'Button'""") +