diff --git a/erpnext/patches/september_2012/all_permissions_patch.py b/erpnext/patches/september_2012/all_permissions_patch.py index e9628741975..eea4345deb2 100644 --- a/erpnext/patches/september_2012/all_permissions_patch.py +++ b/erpnext/patches/september_2012/all_permissions_patch.py @@ -19,4 +19,5 @@ def stock_perms(): 'Sales and Purchase Return Tool') and role='All' and permlevel=0""") def account_perms(): + # since it is a child doctype, it does not need permissions webnotes.conn.sql("""delete from tabDocPerm where parent='TDS Detail'""")