forked from DGNum/gestioCOF
Correction propriété name du modèle Account
This commit is contained in:
parent
2786f834a5
commit
bc1c0110f1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Account(models.Model):
|
||||||
if self.first_name and self.last_name:
|
if self.first_name and self.last_name:
|
||||||
return '%s %s' % (self.first_name, self.last_name)
|
return '%s %s' % (self.first_name, self.last_name)
|
||||||
elif self.first_name:
|
elif self.first_name:
|
||||||
return '%s %s' % self.first_name
|
return self.first_name
|
||||||
else:
|
else:
|
||||||
return self.last_name
|
return self.last_name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue