Skip to content
Snippets Groups Projects
Commit f5ff26f4 authored by Raphael Collet's avatar Raphael Collet
Browse files

[FIX] core: name_get() should return "" instead of False


Because of 43474916, the method
name_get() can now return records with False as label, and this makes
code crash when it expects a string.  Make sure that name_get() always
return strings as labels, while keeping False as empty value for the
field 'display_name'.

closes odoo/odoo#86688

X-original-commit: ff37a2fef89df292b52b1501c28fcf841e1628f5
Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
parent 7cac6618
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment