diff --git a/htdocs/compta/facture/card-rec.php b/htdocs/compta/facture/card-rec.php
index 94a884bf1bf..9443cab1d83 100644
--- a/htdocs/compta/facture/card-rec.php
+++ b/htdocs/compta/facture/card-rec.php
@@ -1226,6 +1226,8 @@ if ($action == 'create') {
}
$morehtmlref .= '';
+ $morehtmlright = '';
+
dol_banner_tab($object, 'ref', $linkback, 1, 'title', 'none', $morehtmlref, '', 0, '', $morehtmlright);
print '
';
diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index d0682320788..ad4ad76a0f2 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -2010,6 +2010,11 @@ abstract class CommonObject
return 1;
}
+ // For backward compatibility
+ if ($this->table_element == 'facture_rec' && $fieldid == 'title') {
+ $fieldid = 'titre';
+ }
+
// Security on socid
$socid = 0;
if ($user->socid > 0) {