|
|
@@ -173,7 +173,7 @@ class BotReply(object): |
|
|
|
self.query = "open todo" |
|
|
|
|
|
|
|
def setup_tables(self): |
|
|
|
tables = frappe.get_all("DocType", {"is_table": 0}) |
|
|
|
tables = frappe.get_all("DocType", {"istable": 0}) |
|
|
|
self.all_tables = [d.name.lower() for d in tables] |
|
|
|
self.doctype_names = {d.name.lower():d.name for d in tables} |
|
|
|
|
|
|
@@ -199,4 +199,4 @@ help_text = """Hello {0}, I am a K.I.S.S Bot, not AI, so be kind. I can try answ |
|
|
|
- "find asian in sales orders": find sales orders where name or title has "asian" |
|
|
|
|
|
|
|
have fun! |
|
|
|
""" |
|
|
|
""" |