Minor fixes

This commit is contained in:
Laurent Destailleur 2015-10-28 23:02:02 +01:00
parent f5eaeb2fb5
commit 4042c6d5cc
3 changed files with 5 additions and 5 deletions

View File

@ -34,9 +34,9 @@ LastMovements=Last movements
Units=Units
Unit=Unit
StockCorrection=Correct stock
StockTransfer=Stock transfer
StockMovement=Transfer
StockMovements=Stock transfers
StockTransfer=Stock movement
StockMovement=Stock movement
StockMovements=Stock movements
LabelMovement=Movement label
NumberOfUnit=Number of units
UnitPurchaseValue=Unit purchase price

View File

@ -2972,7 +2972,7 @@ class Product extends CommonObject
* Return clicable link of object (with eventually picto)
*
* @param int $withpicto Add picto into link
* @param string $option Where point the link
* @param string $option Where point the link ('stock', 'composition', 'category', 'supplier', '')
* @param int $maxlength Maxlength of ref
* @return string String with URL
*/

View File

@ -575,7 +575,7 @@ if ($resql)
$productstatic->ref=$objp->product_ref;
$productstatic->label=$objp->produit;
$productstatic->type=$objp->type;
print $productstatic->getNomUrl(1,'',16);
print $productstatic->getNomUrl(1,'stock',16);
print "</td>\n";
// Product label
print '<td>';