Comment 2 for bug 661653

Revision history for this message
Ferdinand (office-chricar) wrote : Re: [V5] sale/sale.py _invoiced_search returns wrong results for "unpaid"

IMHO unpaid should not find sale orders with stock.picking (out) != 'done' and invoice from picking.
yes of course these are unpaid, but there is nothing to pay if not shipped and invoice are to be created from shipped pickings.