diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php
index 46b2f6a50ad..eb9093888af 100644
--- a/htdocs/fourn/commande/dispatch.php
+++ b/htdocs/fourn/commande/dispatch.php
@@ -569,20 +569,6 @@ if ($id > 0 || !empty($ref)) {
if ($num) {
$entrepot = new Entrepot($db);
$listwarehouses=$entrepot->list_array(1);
- // entrepot par défaut
- print $langs->trans("Warehouse").' : ';
- if (count($listwarehouses)>1)
- {
- print $form->selectarray('fk_default_warehouse', $listwarehouses, $fk_default_warehouse, 1, 0, 0, '', 0, 0, $disabled);
- }
- elseif (count($listwarehouses)==1)
- {
- print $form->selectarray('fk_default_warehouse', $listwarehouses, $fk_default_warehouse, 0, 0, 0, '', 0, 0, $disabled);
- }
- else
- {
- print $langs->trans("NoWarehouseDefined");
- }
print '
';
@@ -613,7 +599,19 @@ if ($id > 0 || !empty($ref)) {
}
}
- print '| '.$langs->trans("Warehouse").' | ';
+ print ''.$langs->trans("Warehouse");
+
+ // Select warehouse to force it everywhere
+ if (count($listwarehouses)>1)
+ {
+ print ' '.$langs->trans("ForceTo").' '.$form->selectarray('fk_default_warehouse', $listwarehouses, $fk_default_warehouse, 1, 0, 0, '', 0, 0, $disabled);
+ }
+ elseif (count($listwarehouses)==1)
+ {
+ print ' '.$langs->trans("ForceTo").' '.$form->selectarray('fk_default_warehouse', $listwarehouses, $fk_default_warehouse, 0, 0, 0, '', 0, 0, $disabled);
+ }
+
+ print ' | ';
// Enable hooks to append additional columns
$parameters = array();
diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang
index ecee37908ce..3e01db9fffb 100644
--- a/htdocs/langs/en_US/stocks.lang
+++ b/htdocs/langs/en_US/stocks.lang
@@ -215,3 +215,4 @@ StockDecrease=Stock decrease
InventoryForASpecificWarehouse=Inventory for a specific warehouse
InventoryForASpecificProduct=Inventory for a specific product
StockIsRequiredToChooseWhichLotToUse=Stock is required to choose which lot to use
+ForceTo=Force to
\ No newline at end of file