Use transaction date for accounting date when importing AEB43 statement
Closes #12886 (grafted from 8ec4668ff251e147fdd80e25b65de4201811c5df) --HG-- branch : 7.0
This commit is contained in:
@@ -74,10 +74,7 @@ class ImportStatement(metaclass=PoolMeta):
|
||||
pool = Pool()
|
||||
Origin = pool.get('account.statement.origin')
|
||||
origin = Origin()
|
||||
try:
|
||||
origin.date = transaction.valueDate
|
||||
except ValueError:
|
||||
origin.date = transaction.transactionDate
|
||||
origin.date = transaction.transactionDate
|
||||
origin.amount = transaction.amount
|
||||
descriptions = []
|
||||
for item in transaction.optionalItems:
|
||||
|
||||
Reference in New Issue
Block a user