Issue in the data import while importing the invoice

This commit is contained in:
Manas Solanki 2018-01-18 11:20:24 +05:30 committed by GitHub
parent bd47abdc9a
commit c6d5611408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ class TransactionBase(StatusUpdater):
now = now_datetime()
self.posting_date = now.strftime('%Y-%m-%d')
self.posting_time = now.strftime('%H:%M:%S.%f')
else:
elif self.posting_time:
try:
get_time(self.posting_time)
except ValueError: