2
0
forked from Wavyzz/dolibarr

Complete param of setValueFrom

This commit is contained in:
Laurent Destailleur
2016-09-12 20:16:39 +02:00
parent 5c1127fc54
commit 0ab377440d
12 changed files with 19 additions and 19 deletions

View File

@@ -143,7 +143,7 @@ if ($action == 'initbarcodeproducts')
$nextvalue=$modBarCodeProduct->getNextValue($productstatic,'');
//print 'Set value '.$nextvalue.' to product '.$productstatic->id." ".$productstatic->ref." ".$productstatic->type."<br>\n";
$result=$productstatic->setValueFrom('barcode', $nextvalue);
$result=$productstatic->setValueFrom('barcode', $nextvalue, '', '', 'date', '', $user, 'PRODUCT_MODIFY');
$nbtry++;
if ($result > 0) $nbok++;