8.0 'purchase' improve (onesteinbv)



Port 'purchase' modification realized by OneStein BV. (branch onesteinbv:8.0-os)

You can make it with a list comprehension:
`product_ids = [res[0] for res in cr.fetchall()]`