Now it works.
This can flag cash accounts, but is now configurable to flag any
transaction what contains any of the listed accounts.
I still don't understand how this works, or what type an empty tag set
is (tagset or set()) | set((tagged,))
Sample header in journal file:
plugin
Martin
Thanks.
My question was all around how to test for an empty tag and update it -
your code does this with
(tagset or set()) | set((tagged,))
I tried to do a logic test on if tagset == None: and also if tagset ==
set():but neither seemed to work.
I was going to do
if tagset ==
Hi
I want to use beancount to maintain customers and vendors, and so want to
be able to allocate payments to invoices (and, by extension, use it to
reconcile bank accounts).
I'm not sure if this has been solved - I couldn't find anything relating to
it on Google.
In essence, this would mean