Skip to content

Commit

Permalink
Update html.form.class.php
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zuiko committed Dec 9, 2020
1 parent 89854ea commit 9cf4484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ public function select_produits($selected = '', $htmlname = 'productid', $filter
if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES) && !empty($socid)) {
$urloption .= '&socid='.$socid;
}
print ajax_autocompleter($selected, $htmlname, DOL_URL_ROOT.'/product/ajax/products.php', $urloption, $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 0, $ajaxoptions);
print ajax_autocompleter($selected, $htmlname, DOL_URL_ROOT.'/product/ajax/products.php', $urloption, $conf->global->PRODUIT_USE_SEARCH_TO_SELECT, 1, $ajaxoptions);

if (!empty($conf->variants->enabled)) {
?>
Expand Down

0 comments on commit 9cf4484

Please sign in to comment.