summaryrefslogtreecommitdiff
path: root/addons/hr/models/hr.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hr/models/hr.py')
-rw-r--r--addons/hr/models/hr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/hr/models/hr.py b/addons/hr/models/hr.py
index 27fd8ae6962..353920a9695 100644
--- a/addons/hr/models/hr.py
+++ b/addons/hr/models/hr.py
@@ -168,15 +168,15 @@ class Employee(models.Model):
# image: all image fields are base64 encoded and PIL-supported
image = fields.Binary(
- "Photo", default=_default_image, attachment=True,
+ "Photo", default=_default_image,
help="This field holds the image used as photo for the employee, limited to 1024x1024px.")
image_medium = fields.Binary(
- "Medium-sized photo", attachment=True,
+ "Medium-sized photo",
help="Medium-sized photo of the employee. It is automatically "
"resized as a 128x128px image, with aspect ratio preserved. "
"Use this field in form views or some kanban views.")
image_small = fields.Binary(
- "Small-sized photo", attachment=True,
+ "Small-sized photo",
help="Small-sized photo of the employee. It is automatically "
"resized as a 64x64px image, with aspect ratio preserved. "
"Use this field anywhere a small image is required.")