mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fixes in voucher import tool
This commit is contained in:
@@ -87,7 +87,7 @@ def import_multiple(common_values, data, start_idx):
|
|||||||
|
|
||||||
if d.ref_number:
|
if d.ref_number:
|
||||||
if not d.ref_date:
|
if not d.ref_date:
|
||||||
raise webnotes.ValidationError,
|
raise webnotes.ValidationError, \
|
||||||
"""Ref Date is Mandatory if Ref Number is specified"""
|
"""Ref Date is Mandatory if Ref Number is specified"""
|
||||||
d.ref_date = parse_date(d.ref_date)
|
d.ref_date = parse_date(d.ref_date)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user