Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V12 Update html.form.class.php to complete Fix #15565 Enhanced behaviour to select product on customer/supplier order to be able to use barcode reader efficiently #15721

Closed
wants to merge 1 commit into from

Conversation

zuiko
Copy link
Contributor

@zuiko zuiko commented Dec 9, 2020

From PR #15565 on V12 branch
Answer to eldy about its partial commit for fixing PR #15565
In fact change in htdocs/core/lib/ajax.lib.php is necessary but not sufficient.
If $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 0, combo remains even the product selected is alone. So an action is necessary to choose it by mouse or down arrow, it's slower.
So I recommend to have $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 1, for customer order filling where the probability is higher to use a barcode scanner.
For supplier order, considering that the barcode reader is less useful and that it's convenient to see the complete product information (description, price) on the combo before to confirm, I would maintain the value $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 0,
Particularly because also that the supplier price box is not currently automatically filled.
See also screen shots in my previous answer.
Thank you for your attention and patience. I don't really know if it's the good way to proceed.

Completes Fix Dolibarr#15565 Enhanced behaviour to select product on customer/supplier order to be able to use barcode reader efficiently

$conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 0, becomes $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 1,
to speed up customer order filling with product selected by barcode readers.
@zuiko zuiko changed the title Update html.form.class.php to complete Fix #15565 Enhanced behaviour to select product on customer/supplier order to be able to use barcode reader efficiently V12 Update html.form.class.php to complete Fix #15565 Enhanced behaviour to select product on customer/supplier order to be able to use barcode reader efficiently Dec 9, 2020
@eldy
Copy link
Member

eldy commented Dec 9, 2020

Because this may have not yet identified side effect, i will not merge this in v12 that is already released ans stable. So i keep only the ticket done into develop / v13

@eldy eldy closed this Dec 9, 2020
@zuiko
Copy link
Contributor Author

zuiko commented Dec 9, 2020

OK, eldy, I understand.
Thanks

@zuiko zuiko deleted the patch-2 branch January 5, 2021 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants