removed landed cost master

This commit is contained in:
Nabin Hait
2013-01-23 16:06:44 +05:30
parent a8454e2764
commit 291e8c2545
20 changed files with 13 additions and 282 deletions

View File

@@ -0,0 +1,4 @@
def execute():
import webnotes
webnotes.delete_doc("DocType", "Landed Cost Master")
webnotes.delete_doc("DocType", "Landed Cost Master Detail")

View File

@@ -156,4 +156,5 @@ patch_list = [
"execute:webnotes.reload_doc('accounts','Print Format','Payment Receipt Voucher')",
"patches.january_2013.update_fraction_for_usd",
"patches.january_2013.remove_unwanted_permission",
"patches.january_2013.remove_landed_cost_master",
]

View File

@@ -16,7 +16,7 @@ def project_perms():
def stock_perms():
webnotes.conn.sql("""delete from `tabDocPerm`
where parent in ('Landed Cost Master', 'Landed Cost Wizard',
where parent in ('Landed Cost Wizard',
'Sales and Purchase Return Tool') and role='All' and permlevel=0""")
def account_perms():