Filter Line Items while creating a Quote/Invoice


Is there a way to filter the autocomplete function for AOS_Products when adding products to an AOS_Quote/AOS_invoice?

The pop can be filtered with:

displayParams' => array(

And a vaguely remember that the autocomplete had its own override, populate_fields or something, but I cant make it work anymore.

Any help appreciated!