New Module and Doctype

Created new module and one sample doctype in version5. It is not visible inside my app. So i wrote

“PMS Test”: {
“color”: “#2ecc71”,
“icon”: “icon-group”,
“icon”: “octicon octicon-organization”,
“label”: _(“PMS”),
“type”: “module”
},
this in desktop.py

When i tried to open the doctype it showing error as

Traceback (innermost last):
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/handler.py”, line 69, in handle
execute_cmd(cmd)
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/handler.py”, line 92, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/init.py”, line 751, in call
return fn(*args, **newargs)
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 63, in getdoctype
docs = get_meta_bundle(doctype)
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 73, in get_meta_bundle
bundle = [frappe.desk.form.meta.get_meta(doctype)]
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 20, in get_meta
meta = frappe.cache().hget(“form_meta”, doctype, lambda: FormMeta(doctype))
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 123, in hget
value = generator()
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 20, in
meta = frappe.cache().hget(“form_meta”, doctype, lambda: FormMeta(doctype))
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 32, in init
self.load_assets()
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 39, in load_assets
self.add_code()
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 58, in add_code
path = os.path.join(get_module_path(self.module), ‘doctype’, scrub(self.name))
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/modules/init.py”, line 29, in get_module_path
return frappe.get_module_path(module)
File “/home/vaijeyanthi/frappe-bench/apps/frappe/frappe/init.py”, line 580, in get_module_path
return get_pymodule_path(local.module_app[module] + “.” + module, *joins)
KeyError: u’pms_test’