Amended the patch to import class Document

This commit is contained in:
Anand Doshi 2011-12-22 18:21:57 +05:30
parent 68f3967de0
commit 0188df1609

View File

@ -1,4 +1,5 @@
import webnotes import webnotes
from webnotes.model.doc import Document
def execute(): def execute():
companies_list = webnotes.conn.sql("SELECT company_name FROM `tabCompany`", as_list=1) companies_list = webnotes.conn.sql("SELECT company_name FROM `tabCompany`", as_list=1)