From cbbcdb58cf0a1f7c2864870473ce178f54b7548d Mon Sep 17 00:00:00 2001 From: nabinhait Date: Mon, 4 Jul 2011 12:49:56 +0530 Subject: [PATCH] fixed 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 c47fcdc177..bd4742f301 100644 --- a/patches/erpnext_structure_cleanup.py +++ b/patches/erpnext_structure_cleanup.py @@ -148,7 +148,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', 'Salary Structure Details': 'Accounts'} + dt_module = {'LC PR Detail':'Stock', 'Landed Cost Detail':'Stock', 'Comment Widget Record': 'Core', 'Tag':'Core', 'Tag Detail': 'Core', 'POS Settings': 'Accounts', 'Salary Structure Details': 'HR'} for d in dt_module.keys(): sql("update `tabDocType` set module = '%s' where name = '%s'" % (dt_module[d], d)) delete_unwanted_mappers()