fixed issues

This commit is contained in:
nabinhait 2011-07-04 12:29:24 +05:30
parent cb41791af8
commit 46be449f9c

View File

@ -147,7 +147,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'}
dt_module = {'LC PR Detail':'Stock', 'Landed Cost Detail':'Stock', 'Comment Widget Record': 'Core', 'Tag':'Core', 'Tag Detail': 'Core', 'POS Settings': 'Accounts'}
for d in dt_module.keys():
sql("update `tabDocType` set module = '%s' where name = '%s'" % (dt_module[d], d))
delete_unwanted_mappers()