========================= Wednesday, August 6, 2014 ========================= Fixed a bug which caused a TypeError "getattr(): attribute name must be string" when user selected trade type "Wages" in the parameters of a :class:`ml.ledger.DebtsByAccount` or :class:`ml.ledger.DebtsByPartner` table. After reading `this thread on stackoverflow `_ I changed :mod:`lino.utils.ajax` to return HttpResponseForbidden instead of HttpResponseServerError in case of PermissionDenied. Updated and reinitialized the :ref:`demos`.