autobean.narration: per-posting narration, in comment

2021-05-08 Thread Archimedes Smith
Hi all, I'm sharing the plugin `autobean.narration` which I've personally been using a lot for shopping transactions. It allows me to annotate each posting in a concise way by populating per-posting narration metadata from inline comments. Example: 2000-01-01 * "bean party" Assets:BankOfBe

Re: Which currency exchange rate price source to use?

2021-05-08 Thread Oon-Ee Ng
Currently exchangeratesapi. Am not really picky, just trying to automate the process rather than manually specifying flunctuations in my home currency. On Sat, May 8, 2021 at 2:32 PM Patrick Ruckstuhl wrote: > Yes, what I meant which price source (e.g. exchangeratesapi, alphabantage, > ...) do y

Why is lineno required when creating Transactions in an importer?

2021-05-08 Thread Oon-Ee Ng
So creating a new Transaction looks something like the below:- meta = data.new_metadata(file.name, lineno) txn = data.Transaction( meta, date, self.FLAG, None, description, data.EMPTY_SET, data.EMPTY_SET, [ data.Posting(ac

Re: Why is lineno required when creating Transactions in an importer?

2021-05-08 Thread James Cook
On Sat, May 08, 2021 at 09:40:17PM +0800, Oon-Ee Ng wrote: > So creating a new Transaction looks something like the below:- > > meta = data.new_metadata(file.name, lineno) > txn = data.Transaction( > meta, date, self.FLAG, None, description, >

Re: Why is lineno required when creating Transactions in an importer?

2021-05-08 Thread Martin Blais
Just a consequence of using namedtuples. The next version won't require it On Sat, May 8, 2021 at 9:40 AM Oon-Ee Ng wrote: > So creating a new Transaction looks something like the below:- > > meta = data.new_metadata(file.name, lineno) > txn = data.Transaction( >