Patch to remove 'Add Recipients' button from Email Digest form

This commit is contained in:
Anand Doshi 2011-12-20 18:31:57 +05:30
parent 490d298fa0
commit 6a605b47ef

View 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'""")