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
..
2018-05-26 09:10:47 +05:30
2017-11-20 10:28:49 +08:00
2018-05-26 09:12:59 +05:30
2018-05-07 16:11:35 +05:30
2018-05-05 12:19:14 +05:30
2018-05-26 09:10:47 +05:30
2018-05-16 13:05:13 +05:30
2018-05-16 12:03:39 +05:30
2018-05-26 09:09:02 +05:30
2018-05-26 09:09:02 +05:30
2017-09-15 19:35:12 +05:30
2018-05-16 19:50:30 +05:30
2018-05-26 09:09:02 +05:30
2018-05-26 09:09:02 +05:30