Image Field (fields.binary) is accesssible when the record is not in the edit mode!

Bug #912663 reported by Serpent Consulting Services
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Web Team

Bug Description

If you Open a record which has a binary field you select an image and save the record.

Still the field is accessible, you can select an image in the field or you can clear the binary field.

IMHO the field is still editable though the record is not in the editable mode.

For Generating the issue you can follow the following steps.

1. Go to Settings/Companies/Companies.

2. Open a record.

3. The record would not be editable. Now try to edit the image. Search for an image or clear the field both will work. You still won't be able to alter any other fields of the record.

For better understanding I have also attached the screen-shots for the same. Check the image 'binary_field_editable.png'.

There is also one more minor bug with the binary field. If you take your mouse over the search button of the binary field it does not react on the 'Mouse Over' Event like the clear button does. As you would see that the cursor is not properly changing for the click event and also the button is not behaving according to the mouse over event.

IMHO the solution would be to hide the buttons while the record is in non-edit mode.

Thanks & Regards,
Serpent Consulting Services

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Here is the Image for the same.

description: updated
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Thanks for conforming Vishal.

The attached merge fixes the problem.

Thanks,
Serpent Consulting Services.

Changed in openerp-web:
status: Confirmed → Fix Committed
Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Fixed in Revision:
1901 revid:<email address hidden>

Changed in openerp-web:
status: Fix Committed → Fix Released
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Thanks Fabien!

Changed in openerp-web:
milestone: none → 6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.