mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 12:08:26 +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 not d.ref_date:
|
||||
raise webnotes.ValidationError,
|
||||
raise webnotes.ValidationError, \
|
||||
"""Ref Date is Mandatory if Ref Number is specified"""
|
||||
d.ref_date = parse_date(d.ref_date)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user