diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php
index 66cb62ef362..7f3bd603444 100644
--- a/htdocs/user/fiche.php
+++ b/htdocs/user/fiche.php
@@ -1196,9 +1196,13 @@ else
print "\n";
// Accountancy code
- print '
| '.$langs->trans("AccountancyCode").' | ';
- print ''.$object->accountancy_code.' | ';
-
+ if (! empty($conf->global->USER_ENABLE_ACCOUNTANCY_CODE)) // For the moment field is not used so must not appeared.
+ {
+ $rowspan++;
+ print '
| '.$langs->trans("AccountancyCode").' | ';
+ print ''.$object->accountancy_code.' | ';
+ }
+
// Status
print '
| '.$langs->trans("Status").' | ';
print '';
|