[fix] [minor] fetching lead details in opportunity
This commit is contained in:
parent
13bed4ef85
commit
11faa57233
@ -133,4 +133,4 @@ def make_opportunity(source_name, target_doclist=None):
|
||||
}
|
||||
}}, target_doclist)
|
||||
|
||||
return [d.fields for d in doclist]
|
||||
return [d if isinstance(d, dict) else d.fields for d in doclist]
|
Loading…
x
Reference in New Issue
Block a user