소스 검색

[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!
"""
"""

불러오는 중...
취소
저장