Image Field (fields.binary) is accesssible when the record is not in the edit mode!
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/
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_
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
Related branches
- Fabien Meghazi (OpenERP): Approve
-
Diff: 23 lines (+7/-0)1 file modifiedaddons/web/static/src/js/view_page.js (+7/-0)
Changed in openerp-web: | |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
importance: | Undecided → Low |
status: | New → Confirmed |
Here is the Image for the same.