diff --git a/htdocs/core/tpl/objectline_edit.tpl.php b/htdocs/core/tpl/objectline_edit.tpl.php
index c9487574121..6cfbd4d802e 100644
--- a/htdocs/core/tpl/objectline_edit.tpl.php
+++ b/htdocs/core/tpl/objectline_edit.tpl.php
@@ -40,35 +40,43 @@
global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="2"' : ''); ?>>
- global->MAIN_FEATURES_LEVEL > 1) { ?>
-
- fk_product > 0) { ?>
-
-
- select_type_of_lines($line->product_type, 'type', 1, 1); ?>
-
-
- fk_product) && empty($line->label)) ? ' disabled="disabled"' : ''); ?>>
-
-
- textwithtooltip($langs->trans('UpdateOriginalProductLabel'), $langs->trans('HelpUpdateOriginalProductLabel'),1,0,'','',3); ?>
-
-
-
- fk_product > 0) { ?>
-
-
product_type==1) echo img_object($langs->trans('ShowService'),'service');
- else print img_object($langs->trans('ShowProduct'),'product');
- echo ' '.$line->ref;
+ if ($conf->global->MAIN_FEATURES_LEVEL > 1)
+ {
+ if ($line->fk_product > 0)
+ {
+ echo $text . ' - ';
+ }
+ else
+ {
+ echo $form->select_type_of_lines($line->product_type, 'type', 1, 1);
+ }
?>
-
- product_label); ?>
-
+ fk_product) && empty($line->label)) ? ' disabled="disabled"' : ''); ?>>
+
+
+ textwithtooltip($langs->trans('UpdateOriginalProductLabel'), $langs->trans('HelpUpdateOriginalProductLabel'),1,0,'','',3); ?>
+
+
-
+ fk_product > 0) { ?>
+
+
+ product_type==1) echo img_object($langs->trans('ShowService'),'service');
+ else print img_object($langs->trans('ShowProduct'),'product');
+ echo ' '.$line->ref;
+ ?>
+
+ product_label);
+ ?>
+
+
+
|