Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019926Openbravo ERPB. User interfacepublic2012-02-29 17:492013-07-23 16:39
dbaz 
AugustoMauch 
highminoralways
newopen 
5
 
 
Core
No
0019926: "Image" type field should be shown in grid
"Image" type field should be shown in grid
As "System"
* Go to "Window Tab and Fields"
* Select "Product"
* Inside its child tab "Tab", select: Product
* Inside its child tab "Field", select: Image
* Check "Show in Grid View" and save

As "Openbravo Admin"
* Go to "Product"
Notice that the grid column related to image is empty
For viewing the grid (not editing), a new magnifier glass icon button should be added in the image cell. This new icon button has three states (normal, hover and pressed). Also when the mouse is over the button, the mouse pointer should be the "hand" (cursor: pointer). Summarizing, this new button should act in the same way of the sheet, pencil, ... of the beginning of all grid view rows.
Maybe (I repeat, maybe, since I haven't tested) the class that implements this buttons could be re-used.

If this new icon button is clicked, the popup showing the image is opened (the same popup that if you click the image in form view)

For editing a grid row, the magnifier glass also should be shown (with the same functionality) and also:
* Upload icon button (if there is no image uploaded)
* Upload icon button + Erase icon button (if there is already an image uploaded)

For a disabled image field, only the new magnifier glass button should be shown in all cases (the button is still clickable, since you can view the image)

Look attached mockup for a better idea of how it should be. Note that the buttons should be centered in the cell.

Note: New images sources are also attached. They should be placed at
/modules/org.openbravo.client.application\web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/grid
No tags attached.
duplicate of defect 0020049 closed AugustoMauch Image fields have no functionality on grid 
has duplicate feature request 0012749 closed marvintm Support display of image in grids etc. 
png ViewMode.png (80,797) 2012-02-29 17:49
https://issues.openbravo.com/file_download.php?file_id=5036&type=bug
png

png EditModeWithNoUploadedImage.png (143,830) 2012-02-29 17:50
https://issues.openbravo.com/file_download.php?file_id=5038&type=bug
png

png EditModeWithUploadedImage.png (144,184) 2012-02-29 17:51
https://issues.openbravo.com/file_download.php?file_id=5039&type=bug
png

png gridButton-search.png (773) 2012-02-29 17:51
https://issues.openbravo.com/file_download.php?file_id=5040&type=bug
png

png gridButton-search_Over.png (863) 2012-02-29 17:51
https://issues.openbravo.com/file_download.php?file_id=5041&type=bug
png

png gridButton-search_Down.png (868) 2012-02-29 17:51
https://issues.openbravo.com/file_download.php?file_id=5042&type=bug
png
Issue History
2012-02-29 17:49dbazNew Issue
2012-02-29 17:49dbazAssigned To => marvintm
2012-02-29 17:49dbazModules => Core
2012-02-29 17:49dbazFile Added: ViewMode.png
2012-02-29 17:50dbazFile Added: EditModeWithNoUploadedImage.png
2012-02-29 17:50dbazFile Deleted: EditModeWithNoUploadedImage.png
2012-02-29 17:50dbazFile Added: EditModeWithNoUploadedImage.png
2012-02-29 17:51dbazFile Added: EditModeWithUploadedImage.png
2012-02-29 17:51dbazFile Added: gridButton-search.png
2012-02-29 17:51dbazFile Added: gridButton-search_Over.png
2012-02-29 17:51dbazFile Added: gridButton-search_Down.png
2012-02-29 17:57dbazRelationship addedhas duplicate 0012749
2012-02-29 18:05dbazProposed Solution updated
2012-03-01 10:20alostaleTypedefect => feature request
2013-07-23 15:38AugustoMauchRelationship addedduplicate of 0020049
2013-07-23 15:38AugustoMauchStatusnew => closed
2013-07-23 15:38AugustoMauchResolutionopen => duplicate
2013-07-23 16:39AugustoMauchAssigned Tomarvintm => AugustoMauch
2013-07-23 16:39AugustoMauchNote Added: 0060181
2013-07-23 16:39AugustoMauchStatusclosed => new
2013-07-23 16:39AugustoMauchResolutionduplicate => open

Notes
(0060181)
AugustoMauch   
2013-07-23 16:39   
This issue should not have been closed. It does not state that image columns should not be shown in the grid, but the contrary.