Works Barcode Scanner

I have connected the barcode scanner, and I have put a tab after each reading.
When I am in the invoice issue, I scan the product and it does not go to the invoice, but it goes to the quantity.
How could you scan and pass the product without pressing the quantity and registration of the product