20130929 (Sunday, 29 September 2013)¶
Continued on lino.modlib.finan
and lino.modlib.accounting
for Renamed “Lino Faggio” to “Lino Voga”.
New method dd.inject_action <lino.core.inject.inject_action>
is a wrapper to lino.core.model.Model.define_action()
.
In “normal” cases it is recommended, e.g.:
# old:
pcsw = dd.resolve_app('pcsw')
pcsw.Coaching.define_action(create_visit=CreateCoachingVisit())
# new:
dd.inject_action('pcsw.Coaching',create_visit=CreateCoachingVisit())