commit | 0188df1609b9125a2a26f3a31018ccbe8eb19122 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Thu Dec 22 18:21:57 2011 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Thu Dec 22 18:21:57 2011 +0530 |
tree | 41feae4a5c5825403166d5484df469315611071b | |
parent | 68f3967de0454c841222ade81907ad7ef85439ba [diff] |
Amended the patch to import class Document
diff --git a/erpnext/patches/edigest_enable_income_year_to_date.py b/erpnext/patches/edigest_enable_income_year_to_date.py index 16e8932..380de83 100644 --- a/erpnext/patches/edigest_enable_income_year_to_date.py +++ b/erpnext/patches/edigest_enable_income_year_to_date.py
@@ -1,4 +1,5 @@ import webnotes +from webnotes.model.doc import Document def execute(): companies_list = webnotes.conn.sql("SELECT company_name FROM `tabCompany`", as_list=1)