fix strict check (#36055)
This commit is contained in:
parent
b39902a4b4
commit
91af13069a
1 changed files with 2 additions and 1 deletions
|
|
@ -454,7 +454,8 @@ class MouvementStock extends CommonObject
|
|||
$qtyisnotenough = 0;
|
||||
if (isset($product->stock_warehouse[$entrepot_id])) {
|
||||
foreach ($product->stock_warehouse[$entrepot_id]->detail_batch as $batchcursor => $prodbatch) {
|
||||
if ((string) $batch != (string) $batchcursor) { // Lot '59' must be different than lot '59c'
|
||||
// Lot '59' must be different than lot '59c' and also '0123' must be different than '123'
|
||||
if ((string) $batch !== (string) $batchcursor) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue