Hi,
First of all sorry for my bad english…
I am testing this ERP and at the moment i like it!
I would like to know how can i add new lines to the sale order just entering the reference code and pressing “Enter”. For now I 've only seen I can do that by clicking the Add button.
Regards and thanks.
Currently I don’t know about any way to “add” a line with ONLY text - instead of a product (or service) line item.
This question comes up often. Maybe there exists a solution from one of the Dolibarr Partners?
A a work around, you always are able to edit either the “generated” .pdf or .odt document with a PDF-Editor or LibreOffice Draw.
Best regards
Thanks for reply me.
I think you have not understood me. I want to enter the ref number in the input field and pressing enter to add the product. For example, if i use a barcode reader i dont want to be reading code and using mouse to click the Add Line button, and next click the ref input field to read code again, etc.
I want to read the code product and just press enter to add the line instead of use the mouse. I think this way we win a lot of time more.
PD: Again… sorry for my bad english 
It was not your “bad” English - that’s fine with me. I’ve misread your question. Sorry.
What you want to be displayed during the “Add Line” process is:
- only display (AND act on) a selection of products (I suppose NO services)
- Dolibarr to automaticaly fill the now visible Qty = 1, Reduc. = 0, Cost price = stored cost price of the product
- NO separate ADD button
This all happens in ‘… htdocs/core/tpl/objectline_create.tpl.php’
You’ll have to find the code sections to comment out there.
Best regards
hi Panecillo,
have a look to your barcode-scanner, some of them can add inputs after each scan. if your scanner can do this the input is never
"barcode"ENTER
it can be
"BARCODE"TAB TAB TAB ENTER
try this and tell me if it works
best regards
wolfgang 
1 Like