From 3eb03b2635bea9ee936f5070a56423feb616c623 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Mon, 4 Jul 2011 13:21:49 +0530 Subject: [PATCH] fixed dependency issues --- patches/erpnext_structure_cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/erpnext_structure_cleanup.py b/patches/erpnext_structure_cleanup.py index f2d8adfbca..7cd6e95bd5 100644 --- a/patches/erpnext_structure_cleanup.py +++ b/patches/erpnext_structure_cleanup.py @@ -150,7 +150,7 @@ def sync_mapper(): #--------------------------------------- def run_patches(): # update module - dt_module = {'LC PR Detail':'Stock', 'Landed Cost Detail':'Stock', 'Comment Widget Record': 'Core', 'Tag':'Core', 'Tag Detail': 'Core', 'POS Settings': 'Accounts'} + dt_module = {'LC PR Detail':'Stock', 'Landed Cost Detail':'Stock', 'Comment Widget Record': 'Core', 'Tag':'Core', 'Tag Detail': 'Core', 'POS Settings': 'Accounts', 'Menu Item': 'Setup', 'Menu Item Role': 'Setup'} for d in dt_module.keys(): sql("update `tabDocType` set module = '%s' where name = '%s'" % (dt_module[d], d)) delete_unwanted_mappers()