Tuesday, January 6, 2015¶
Started to work on #51 (Send email notification on update):
We want to send email to a configurable list of addresses when one of
the following fields of a
lino_welfare.modlib.pcsw.models.Client have been modified:
first_name, last_name, national_id, primary address, bank account
This has nothing to do with
lino.modlib.changes, except that it
is a second use case for the
signals. It must be implemented by
writing a receiver for that signal.
Renamed pre_ui_create to on_ui_created and pre_ui_update to on_ui_updated because they are sent when save() has been called.
lino.dd no longer includes a shortcut to this class because
it has nothing to do with data definition.