lino_xl.lib.ledger.management.commands.reregister

Defines the reregister admin command:

reregister

Re-register all ledger vouchers.

If no arguments are given, run it on all vouchers. Otherwise every positional argument is expected to be the ref of a journal, and are being re-registered.

When called with no arguments, all movements are deleted from the database. This can help if the database contains movments with invalid voucher pointer.

(This module's source code is available here.)

Functions

puts(msg)

reregister_vouchers(args)

Called by reregister.

Classes

Command([stdout, stderr, no_color, force_color])

lino_xl.lib.ledger.management.commands.reregister.reregister_vouchers(args)

Called by reregister. See there.