buchhaltung icon indicating copy to clipboard operation
buchhaltung copied to clipboard

`add` again suggests tranactions that have been offset

Open ariep opened this issue 6 years ago • 0 comments

Generally, when you have buchhaltung added an offsetting transaction to an imported one, it will no longer be suggested in a subsequent run of buchhaltung add. However, this seems to break down when you change the title of the offsetting transaction (using the t command during add).

How is buchhaltung supposed to match offsetting transactions to the corresponding imported one? Is the title used for this?

From a quick reading of the code, the "status" (cleared/unmarked) of transactions is used when deciding which ones to suggest for add. Is add supposed to add a "cleared" flag (*) to the imported transaction when it creates a corresponding offsetting one? Apparently it doesn't do that at the moment.

ariep avatar Jan 12 '19 14:01 ariep