diff --git a/addons/hr/static/src/views/fields/many2one_avatar_employee_field/many2one_avatar_employee_field.js b/addons/hr/static/src/views/fields/many2one_avatar_employee_field/many2one_avatar_employee_field.js
index 538ba14f1adddd73a7664801e6d31be6e92b65b2..a09044db9ea9fb7787dcec2dfa245607038b7714 100644
--- a/addons/hr/static/src/views/fields/many2one_avatar_employee_field/many2one_avatar_employee_field.js
+++ b/addons/hr/static/src/views/fields/many2one_avatar_employee_field/many2one_avatar_employee_field.js
@@ -8,17 +8,12 @@ export class Many2OneAvatarEmployeeField extends Many2OneAvatarUserField {}
 Many2OneAvatarEmployeeField.extractProps = ({ field, attrs }) => {
     return {
         ...Many2OneAvatarUserField.extractProps({ field, attrs }),
+        relation: (attrs.options && attrs.options.relation) || field.relation,
         canQuickCreate: false,
     }
 };
 
 Many2OneAvatarEmployeeField.additionalClasses = [...Many2OneAvatarUserField.additionalClasses, "o_field_many2one_avatar_user"];
-Many2OneAvatarEmployeeField.extractProps = ({ attrs, field }) => {
-    return {
-        ...Many2OneAvatarUserField.extractProps({ attrs, field }),
-        relation: (attrs.options && attrs.options.relation) || field.relation,
-    };
-};
 
 registry.category("fields").add("many2one_avatar_employee", Many2OneAvatarEmployeeField);