Stock quantities are not shown on sale lines (nor purchase lines)
On latest trunk and 6.8 series, when searching for a product in the sale lines its quantity is always shown as 0. If you open Sales -> Products you will see that the product have valid quantities.
This is because the locations
context key is empty on the sale lines.
This was introduced by 6efb525a7b23