Thursday, July 24, 2014

Experimenting for Lino Welfare.

Fields without label

Changed label handling for grid columns: It is now possible to define a field with an empty string as verbose_name in order to get an empty column header.

‘list’ object has no attribute ‘filter’

Fixed a bug in the chooser for welfare.debts.Entry.bailiff which caused the combobox to always be empty and an Internal Server Error with:

File ".../lino_welfare/modlib/debts/models.py", line 686, in bailiff_choices
    qs = qs.filter(client_contact_type__is_bailiff=True)
AttributeError: 'list' object has no attribute 'filter'

Added a detail_layout to welfare.pcsw.ClientContactTypes, with a new slave table welfare.pcsw.ClientContactsByType