mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 18:34:48 +00:00
Merge pull request #167 from anandpdoshi/master
Patch to remove extra button from Email Digest Form
This commit is contained in:
8
erpnext/patches/remove_extra_button_from_email_digest.py
Normal file
8
erpnext/patches/remove_extra_button_from_email_digest.py
Normal file
@@ -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'""")
|
||||||
|
|
||||||
Reference in New Issue
Block a user