fixes in voucher import tool

This commit is contained in:
Anand Doshi 2012-10-05 16:26:18 +05:30
parent 372697d9c5
commit 3ea58605de

View File

@ -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)