brotherton-erpnext/erpnext/patches/july_2012/remove_event_role_owner_match.py

6 lines
192 B
Python
Raw Normal View History

from __future__ import unicode_literals
def execute():
import webnotes
webnotes.conn.sql("""\
2012-07-17 07:38:46 +00:00
update `tabDocPerm` set `match`=NULL
where parent='Event' and role='All' and permlevel=0""")