[FIX] mail: use nameOrDisplayName in reactions
If the name is not known, fallback to the displayName. closes odoo/odoo#77553 X-original-commit: 50f3581df712d5f2cbb6481f7fcb8c164ebb2da2 Signed-off-by: Samuel Degueldre <sdegueldre@users.noreply.github.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -76,7 +76,7 @@ function factory(dependencies) {
|
||||
1: secondUser,
|
||||
2: thirdUser,
|
||||
} = [
|
||||
...this.partners.map(partner => partner.name),
|
||||
...this.partners.map(partner => partner.nameOrDisplayName),
|
||||
...this.guests.map(guest => guest.name),
|
||||
];
|
||||
switch (length) {
|
||||
|
||||
Reference in New Issue
Block a user