Merge branch 'master' into edge
This commit is contained in:
commit
5ec043c920
@ -160,6 +160,12 @@ def import_vouchers(common_values, data, start_idx, import_type):
|
|||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
doclist = Bean([jv]+details)
|
doclist = Bean([jv]+details)
|
||||||
|
|
||||||
|
# validate datatype
|
||||||
|
from core.page.data_import_tool.data_import_tool import check_record
|
||||||
|
for d in doclist:
|
||||||
|
check_record(d.fields, d.parenttype)
|
||||||
|
|
||||||
doclist.submit()
|
doclist.submit()
|
||||||
|
|
||||||
messages.append("""<p style='color: green'>[row #%s]
|
messages.append("""<p style='color: green'>[row #%s]
|
||||||
|
Loading…
Reference in New Issue
Block a user