Wrong partial index for sale and purchase counting on invoice and shipment state
The partial index should be on the invoice and shipment state and not the order state.
The partial index should be on the invoice and shipment state and not the order state.