mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Amended the patch to import class Document
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user