odoo/odoo#188368

Created by fw-bot
Merged at 36103c925a7aa8497f1f2bfc43c39bd3a5e786cb

Statuses:

label
odoo-dev:saas-17.4-16.0-fixup-187285-again-mat-IxUA-fw
head
9704fa96f4f6a7dd1f21ad08dbadf369c2484d9c
merged
10 months ago by Security, Martin Trigaux (mat)
odoo/odoo
16.0 #188310
17.0 #188347
saas-17.2 #188363
saas-17.4 #188368
18.0 #188370

[FW][FIX] hr: fixup of 0baa908385

Computing the field in su = False was not working as assigned the variable on the sudo environment. The test in 0baa908385 was working as the read computes the display_name in sudo.

Forward-Port-Of: #188363
Forward-Port-Of: #188310