[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.