mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Merge pull request #12530 from frappe/manassolanki-patch-2
Issue in the data import while importing the invoice
This commit is contained in:
@@ -26,7 +26,7 @@ class TransactionBase(StatusUpdater):
|
|||||||
now = now_datetime()
|
now = now_datetime()
|
||||||
self.posting_date = now.strftime('%Y-%m-%d')
|
self.posting_date = now.strftime('%Y-%m-%d')
|
||||||
self.posting_time = now.strftime('%H:%M:%S.%f')
|
self.posting_time = now.strftime('%H:%M:%S.%f')
|
||||||
else:
|
elif self.posting_time:
|
||||||
try:
|
try:
|
||||||
get_time(self.posting_time)
|
get_time(self.posting_time)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user