Add todo comment

This commit is contained in:
Lance Edgar 2019-09-14 15:07:47 -05:00
parent 99cd9f9450
commit a972fb7359

View file

@ -1123,6 +1123,11 @@ class MasterView(View):
"""
Perform actual "touch" logic for the given object. Must return the
:class:`rattail:~rattail.db.model.Change` record involved.
.. todo::
Why should this return the change object? We're not using it for
anything (yet?) but some views may generate multiple changes when
touching the primary object, i.e. touch related objects also.
"""
change = model.Change()
change.class_name = obj.__class__.__name__