Patch to remove 'Add Recipients' button from Email Digest form
This commit is contained in:
parent
490d298fa0
commit
6a605b47ef
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'""")
|
||||
|
Loading…
Reference in New Issue
Block a user