Use transactionExists in transaction.py to check if a transaction already exists before printing it to the generated import file.
At the moment, to make sure transactions are not added twice, we only check if it exists in the buy or sell transaction. This adds transactions that already exist to the history when the CSV is imported. This is not wanted, because it adds junk to the EXPORT function
The generated import file should have a already exists section that shows the transaction that are in the database.
Use
transactionExists
in transaction.py to check if a transaction already exists before printing it to the generated import file.At the moment, to make sure transactions are not added twice, we only check if it exists in the buy or sell transaction. This adds transactions that already exist to the history when the CSV is imported. This is not wanted, because it adds junk to the EXPORT function
The generated import file should have a already exists section that shows the transaction that are in the database.