diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 82f6d192f11..9f93a7b8841 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -1084,10 +1084,11 @@ else
print '
| '.$langs->trans("Label").' | '.$object->libelle.' | ';
$nblignes=8;
+ if (! empty($conf->produit->enabled) && ! empty($conf->service->enabled)) $nblignes++;
+ if ($showbarcode) $nblignes+=2;
if ($object->type!=1) $nblignes++;
if ($object->isservice()) $nblignes++;
else $nblignes+=4;
- if ($showbarcode) $nblignes+=2;
// Photo
if ($showphoto || $showbarcode)