From cb0827431557c92f0ad2f2f68b326b5537eb257a Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 6 Jul 2016 19:33:06 +0530 Subject: [PATCH] [hotfix] is_table -> istable --- frappe/utils/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/utils/bot.py b/frappe/utils/bot.py index cac43326de..e8a7150407 100644 --- a/frappe/utils/bot.py +++ b/frappe/utils/bot.py @@ -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! -""" \ No newline at end of file +"""