Update sale.py

FIX: searching for not payed invoices don't work