Thursday, April 24, 2014

Fixed a bug which had been introduced together with the customizable insert actions: pressing ENTER in a Detail window (or closing a dirty Detail window and answering Yes when asked whether you want to save your modifications) caused an Internal Server Error because the AJAX call used the wrong action name.

Tss, tss, how blind a man can be: why did I define the specialized SubmitInsert action in lino_welfare.modlib.pcsw? It can of course be in lino.modlib.dedupe, together with SimilarPersons itself! Everything in one place and no need to do anything special in order to activate the app. Cool! Added a new function dd.update_model to facilitate overriding an existing action.

Fixed an Internal Server Error ” AttributeError type object ‘AddressTypes’ has no attribute ‘eid’” which occured when reading an eID card.

lino.modlib.beid.mixins