Suraj Shetty 084b0b3a67 Treeview permission (#14232)
* Replace frappe.db.sql to frappe.get_list to apply permissions (#14037)

* Replace frappe.db.sql to frappe.get_list to apply permission
- All get_children method had frappe.db.sql in them which
had no permission check, now its replaced with frappe.get_list
which will check permission based on the user.

* Fix codacy
- Remove trailing whitespace

* Add parent filter

* Add ifnull checks
2018-05-26 09:12:59 +05:30
..
2017-12-08 14:57:38 +05:30
2018-05-15 13:02:40 +05:30
2018-05-26 09:12:59 +05:30
2018-05-26 09:09:02 +05:30