procurement_needed() and (transfered == True) and ((order_policy!='prepaid') or invoiced) sale_order_form_invoice_credit sale.order inherit_view_picking_form stock.picking