beancount / ledger2beancount

Ledger to Beancount text-based converter
GNU General Public License v3.0
79 stars 15 forks source link

Balance assignment not handled correctly #229

Closed tbm closed 3 years ago

tbm commented 3 years ago

Handled correctly:

2020-07-26 * No posting
    Assets:Test           1.00 EUR
    Assets:AAAA

2020-07-26 * No posting
    Assets:Test           = 10.00 EUR
    Assets:BBBB

Not handled correctly:

2020-07-26 * No posting
    Assets:Test           1.00 EUR
    Assets:AAAA

2020-07-26 * No posting
    Assets:Test           = 10.00 EUR
    Assets:BBBB             -9.00 EUR
tbm commented 3 years ago

In the second case we don't generate the pad directive.

tbm commented 3 years ago

In the second case we don't generate the pad directive.

Actually, I think everything is working as it should. In the second case we don't need a pad.

tbm commented 3 years ago

It works as expected afaict.