diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 991e3cb37cc..93aee37987f 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -63,7 +63,7 @@ class FormOther
* @param string $jstoexecuteonadd Name of javascript function to call
* @return string HTML component
*/
- public function getHTMLScannerForm($jstoexecuteonadd = 'barcodscannerjs')
+ public function getHTMLScannerForm($jstoexecuteonadd = 'barcodescannerjs')
{
global $langs;
@@ -73,9 +73,9 @@ class FormOther
$out .= '
';
$out .= '
Barcode scanner tool...
';
- $out .= ' Autodetect if we scan a product barcode or a lot/serial barcode ';
- $out .= ' Scan a product barcode ';
- $out .= ' Scan a product lot or serial number ';
+ $out .= ' Autodetect if we scan a product barcode or a lot/serial barcode ';
+ $out .= ' Scan a product barcode ';
+ $out .= ' Scan a product lot or serial number ';
$out .= $langs->trans("QtyToAddAfterBarcodeScan").' ';
$out .= '';
@@ -88,7 +88,7 @@ class FormOther
*/
$out .= ' ';
$out .= '
';
- $out .= '';
+ $out .= '';
$out .= '';
$out .= ' ';
@@ -96,6 +96,13 @@ class FormOther
// TODO Add call of javascript $jstoexecuteonadd so each scan will add qty into the inventory page + an ajax save.
+ $out .= '';
+
$out .= '
';
$out .= '
';
diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang
index efa5257498c..2f6bbafca4c 100644
--- a/htdocs/langs/en_US/stocks.lang
+++ b/htdocs/langs/en_US/stocks.lang
@@ -255,4 +255,6 @@ MakeMovementsAndClose=Generate movements and close
AutofillWithExpected=Fill real quantity with expected quantity
ShowAllBatchByDefault=By default, show batch details on product "stock" tab
CollapseBatchDetailHelp=You can set batch detail default display in stocks module configuration
-FieldCannotBeNegative=Field "%s" cannot be negative
\ No newline at end of file
+FieldCannotBeNegative=Field "%s" cannot be negative
+ErrorWrongBarcodemode=Unknown Barcode mode
+ProductDoesNotExist=Product does not exist
diff --git a/htdocs/product/inventory/inventory.php b/htdocs/product/inventory/inventory.php
index 85cd0932f46..ffdd26c6803 100644
--- a/htdocs/product/inventory/inventory.php
+++ b/htdocs/product/inventory/inventory.php
@@ -449,7 +449,7 @@ if ($object->id > 0) {
print dol_get_fiche_end();
- print '