diff --git a/erpnext/patches/lcw_patch.py b/erpnext/patches/lcw_patch.py index e2961ce163..66afafc866 100644 --- a/erpnext/patches/lcw_patch.py +++ b/erpnext/patches/lcw_patch.py @@ -2,7 +2,7 @@ def execute(): import webnotes from webnotes.modules.module_manager import reload_doc - + reload_doc('stock', 'doctype', 'landed_cost_wizard') reload_doc('stock', 'doctype', 'lc_pr_detail') diff --git a/erpnext/patches/reload_lc_wizard.py b/erpnext/patches/reload_lc_wizard.py index 5b69c30c5e..6b8565eafe 100644 --- a/erpnext/patches/reload_lc_wizard.py +++ b/erpnext/patches/reload_lc_wizard.py @@ -4,6 +4,6 @@ def execute(): from webnotes.model import delete_doc delete_doc('DocType', 'Landed Cost Wizard') - delete_doc('DocType', 'Landed Cost Wizard') + delete_doc('DocType', 'LC PR Detail') reload_doc('stock', 'doctype', 'landed_cost_wizard') reload_doc('stock', 'doctype', 'lc_pr_detail')