Update upgrade2.php

This commit is contained in:
Frédéric FRANCE
2025-11-28 07:59:10 +01:00
committed by GitHub
parent 57431464f5
commit 87fbbce618

View File

@@ -4567,8 +4567,8 @@ function migrate_productlot_path()
}
if ($dir) {
$lot->id = $obj->rowid;
$lot->ref = $obj->rowid; // No ref for the moment
$lot->id = (int) $obj->rowid;
$lot->ref = (string) $obj->rowid; // No ref for the moment
$lot->batch = $obj->batch;
$lot->entity = $obj->entity;
$lot->fk_product = $obj->fk_product;