Fix more complete fix for bad label in creating invoice from other obj

This commit is contained in:
Laurent Destailleur 2018-07-02 16:46:30 +02:00
parent cae7cabe6d
commit 3c176adb38

View File

@ -3217,7 +3217,7 @@ if ($action == 'create')
$newclassname = 'Intervention';
break;
default:
$newclassname = $classname;
$newclassname = get_class($objectsrc);
}
print '<tr><td>' . $langs->trans($newclassname) . '</td><td colspan="2">' . $objectsrc->getNomUrl(1);