Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
5d8c7d2f0b
@ -1461,6 +1461,10 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($product->stock_warehouse as $warehouse_id => $stock_warehouse) {
|
foreach ($product->stock_warehouse as $warehouse_id => $stock_warehouse) {
|
||||||
|
if (!empty($warehousePicking) && !in_array($warehouse_id, $warehousePicking)) {
|
||||||
|
// if a warehouse was selected by user, picking is limited to this warehouse and his children.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$tmpwarehouseObject->fetch($warehouse_id);
|
$tmpwarehouseObject->fetch($warehouse_id);
|
||||||
if (($stock_warehouse->real > 0) && (count($stock_warehouse->detail_batch))) {
|
if (($stock_warehouse->real > 0) && (count($stock_warehouse->detail_batch))) {
|
||||||
foreach ($stock_warehouse->detail_batch as $dbatch) {
|
foreach ($stock_warehouse->detail_batch as $dbatch) {
|
||||||
|
|||||||
@ -1458,7 +1458,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
// Date creation
|
// Date creation
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("DateCreation").'</td>';
|
print '<tr><td class="titlefield">'.$langs->trans("DateCreation").'</td>';
|
||||||
print '<td colspan="3">'.dol_print_date($object->date_creation, "dayhour")."</td>\n";
|
print '<td colspan="3">'.dol_print_date($object->date_creation, "dayhour", "tzuserrel")."</td>\n";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Delivery date planned
|
// Delivery date planned
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user