Sunday, March 27, 2016

The No account in (journal) warning during get_wanted_movements must raise a Warning (not an Exception).

When a Warning is raised during a callback (e.g. after a confirmation), then a Warning was being treated as an internal server error instead of being displayed to the user. This was a bug in lino.core.kernel.Kernel.run_callback().

I renamed satisfied to cleared on lino_xl.lib.ledger.models.Movement.

New setting lino_xl.lib.ledger.Plugin.force_cleared_until is needed because they want to import old disbursements only, supposing they are all cleared.