浏览代码

[hotfix] is_table -> istable

version-14
Anand Doshi 9 年前
父节点
当前提交
cb08274315
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      frappe/utils/bot.py

+ 2
- 2
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!
"""
"""

正在加载...
取消
保存