mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
removed landed cost master
This commit is contained in:
4
patches/january_2013/remove_landed_cost_master.py
Normal file
4
patches/january_2013/remove_landed_cost_master.py
Normal file
@@ -0,0 +1,4 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.delete_doc("DocType", "Landed Cost Master")
|
||||
webnotes.delete_doc("DocType", "Landed Cost Master Detail")
|
||||
@@ -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",
|
||||
]
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user