added moduleview

This commit is contained in:
Rushabh Mehta
2013-01-09 16:39:27 +05:30
parent 996c30a575
commit ce1d5276ff
28 changed files with 1117 additions and 1086 deletions

View File

@@ -13,7 +13,7 @@ def get_children():
if(is_group='Yes', 1, 0) as expandable
from `tab%(ctype)s`
where docstatus < 2
and %(parent_field)s = "%(parent)s"
and ifnull(%(parent_field)s,'') = "%(parent)s"
order by name""" % webnotes.form_dict, as_dict=1)
@webnotes.whitelist()