lino_welfare.modlib.debts.fields

Database fields for lino_welfare.modlib.debts.

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

Classes

PeriodsField(*args, **kwargs)

Used for Entry.periods and Account.periods (the latter holds simply the default value for the former).

class lino_welfare.modlib.debts.fields.PeriodsField(*args, **kwargs)

Bases: django.db.models.fields.DecimalField

Used for Entry.periods and Account.periods (the latter holds simply the default value for the former). It means: for how many months the entered amount counts. Default value is 1. For yearly amounts set it to 12.