mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
introducing model 3.0, refactored import module
This commit is contained in:
@@ -21,7 +21,7 @@ from __future__ import unicode_literals
|
||||
import webnotes
|
||||
from webnotes.model import delete_doc
|
||||
from webnotes.modules import reload_doc
|
||||
from webnotes.modules.export_module import export_to_files
|
||||
from webnotes.modules.export_file import export_to_files
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ sql = webnotes.conn.sql
|
||||
from webnotes.utils import cint, cstr
|
||||
|
||||
def create_proper_index():
|
||||
from webnotes.modules.export_module import export_to_files
|
||||
from webnotes.modules.export_file import export_to_files
|
||||
|
||||
dt_index_fields={
|
||||
'Purchase Receipt Item': ['prevdoc_docname', 'item_code', 'warehouse', 'prevdoc_detail_docname'],
|
||||
|
||||
Reference in New Issue
Block a user