[fix] [minor] [mapper]
This commit is contained in:
parent
638e8dfc08
commit
060617acb0
1 changed files with 4 additions and 1 deletions
|
|
@ -26,8 +26,11 @@ from webnotes import _
|
|||
from webnotes.utils import cstr
|
||||
from webnotes.model import default_fields
|
||||
|
||||
def get_mapped_doclist(from_doctype, from_docname, table_maps, target_doclist=[],
|
||||
def get_mapped_doclist(from_doctype, from_docname, table_maps, target_doclist=None,
|
||||
postprocess=None, ignore_permissions=False):
|
||||
if target_doclist is None:
|
||||
target_doclist = []
|
||||
|
||||
if isinstance(target_doclist, basestring):
|
||||
target_doclist = json.loads(target_doclist)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue