[IMP] hr: image is not modified at display when choosing a new one; btu resized when...
[odoo/odoo.git] / addons / hr / hr_view.xml
index 6b379a1..59b0605 100644 (file)
@@ -21,7 +21,7 @@
             <field name="arch" type="xml">
                 <form string="Employee" version="7.0">
                     <sheet>
-                        <field name="image_small" widget='image' class="oe_right" on_change="onchange_image(image_small)"/>
+                        <field name="image_small" widget='image' class="oe_right oe_form_field_image_small" on_change="onchange_image(image_small)"/>
                         <div class="oe_title">
                             <label for="name" class="oe_edit_only"/>
                             <h1>