[REF] Refactor pos_details_report - created seach domain function

This refactoring allows to easily inherit the report if there is a need to alter the selection of pos order lines.
maybe replace by `form.get` (not sure `user_ids` is always present and avoids fallback on empty list)