New issue 354: Lot reduction fails on positive entry
https://bitbucket.org/blais/beancount/issues/354/lot-reduction-fails-on-positive-entry
Ilya Kuzmich:
Booking will fail to match positive at cost entry against negative one, if
negative comes first.
Sample journal:
```
option "booking_method" "FIFO"
plugin "beancount.plugins.auto"
1970-01-01 txn "remove"
Assets:Foo -1 AA { 1 USD }
Assets:Bar
1970-01-01 txn "add"
Assets:Foo 2 AA { 1 USD }
Assets:Bar
```
It's not a problem usually, unless "remove" and "add" tx's are in different
files, and "remove" sorted first by the lineno.
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/20181222110318.17059.30215%40celery-worker-111.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.