[FIX][T6078] Fix picking search in account.invoice when origin is from a purchase order

Merged diego.barreto requested to merge T6078 into 12.0

Merge request reports