Fix UserGroup name not display in card view or edit
This commit is contained in:
parent
6b0e521920
commit
ba4fde20ce
@ -8,6 +8,7 @@ Fix: Supplier invoice and supplier order are not displayed into object link into
|
||||
Fix: [ bug #1033 ] SUPPLIER REF disappeared
|
||||
Fix: update extrafield do not display immediatly after update
|
||||
Fix: Fix bug with canvas thirdparty
|
||||
Fix: User group name do not display in card (view or edit mode)
|
||||
|
||||
***** ChangeLog for 3.4 compared to 3.3.* *****
|
||||
For users:
|
||||
|
||||
@ -97,6 +97,7 @@ class UserGroup extends CommonObject
|
||||
$this->ref = $obj->rowid;
|
||||
$this->entity = $obj->entity;
|
||||
$this->name = $obj->name;
|
||||
$this->nom = $obj->name; //Deprecated
|
||||
$this->note = $obj->note;
|
||||
$this->datec = $obj->datec;
|
||||
$this->datem = $obj->datem;
|
||||
|
||||
@ -298,7 +298,7 @@ else
|
||||
|
||||
// Name
|
||||
print '<tr><td width="25%" valign="top">'.$langs->trans("Name").'</td>';
|
||||
print '<td width="75%" class="valeur">'.$object->nom;
|
||||
print '<td width="75%" class="valeur">'.$object->name;
|
||||
if (empty($object->entity))
|
||||
{
|
||||
print img_picto($langs->trans("GlobalGroup"),'redstar');
|
||||
@ -480,7 +480,7 @@ else
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
print '<tr><td width="25%" valign="top" class="fieldrequired">'.$langs->trans("Name").'</td>';
|
||||
print '<td width="75%" class="valeur"><input size="15" type="text" name="group" value="'.$object->nom.'">';
|
||||
print '<td width="75%" class="valeur"><input size="15" type="text" name="group" value="'.$object->name.'">';
|
||||
print "</td></tr>\n";
|
||||
|
||||
// Multicompany
|
||||
|
||||
Loading…
Reference in New Issue
Block a user