HoldingsSelectionModel is adaptor-like component from times when the only proxy model available was SFPM. It combines models by doing lookup in expression roles to another models. This mechanism is inefficient and problematic also from pov code structure - data cannot be prepared early in the flow, multiple models must be passed to views and combined already in the view.
It's necessary to review usages HoldingsSelectionModel and build efficient adaptor, how we do it nowadays. Probably also some views can be improved then regarding their API and compliance with the guideline.
Description
HoldingsSelectionModel
is adaptor-like component from times when the only proxy model available wasSFPM
. It combines models by doing lookup in expression roles to another models. This mechanism is inefficient and problematic also from pov code structure - data cannot be prepared early in the flow, multiple models must be passed to views and combined already in the view.It's necessary to review usages
HoldingsSelectionModel
and build efficient adaptor, how we do it nowadays. Probably also some views can be improved then regarding their API and compliance with the guideline.