Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019807Openbravo ERPB. User interfacepublic2012-02-18 01:312012-03-02 15:38
dbaz 
dbaz 
highminoralways
closedfixed 
5
 
3.0MP9 
Core
No
0019807: [P&E] Delete Icon has not "hover" styles
Delete Icon has not "hover" styles, so when you mouseover/press it you have not visual notification
As "Openbravo Admin"
* Go to "Payment Term"
* Create New
   - "Search Key": 30-60-90
   - "Name": 30-60-90
* Save
* Go to "Lines"
* Create New
   - "Percentage Due": 25
   - "Rest": un-checked
* Save
* Create New
   - "Percentage Due": 25
   - "Rest": un-checked
* Save

* Go to "Sales Invoice"
* Create New
   - "Organization": same organization you used in the created "Payment Term"
   - "Business Partner": any
   - "Payment Term": 30-60-90
* Save
* Go to "Lines"
* Create 2 news with any product and Quantity 100
* "Complete" the "Sales Invoice"
* Click "Modify Payment In Plan"

Check that the delete icon (rubbish bin) has not any visual at all
There are two solutions:
* Fast one: add changes in the icon and a cursor:pointer to the <img> itself. Cons: since all the cell is clickable, it should be strange, that if you click outside the <img> but still inside the cell, the action is performed. This is because the delete column is made using Smartclient standard way

* Elaborated one: remove Smartclient's delete column code, and include a button using "createRecordComponent" which permorms the deletion action.
No tags attached.
? ob-pick-and-execute-view.js (10,508) 2012-02-18 01:36
https://issues.openbravo.com/file_download.php?file_id=5005&type=bug
Issue History
2012-02-18 01:31dbazNew Issue
2012-02-18 01:31dbazAssigned To => dbaz
2012-02-18 01:31dbazModules => Core
2012-02-18 01:32dbazProposed Solution updated
2012-02-18 01:35dbazNote Added: 0045250
2012-02-18 01:36dbazFile Added: ob-pick-and-execute-view.js
2012-02-18 01:38hgbotCheckin
2012-02-18 01:38hgbotNote Added: 0045251
2012-02-18 01:38hgbotStatusnew => resolved
2012-02-18 01:38hgbotResolutionopen => fixed
2012-02-18 01:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c5f71c8919355f5610a1464d9b7f2883bc365778 [^]
2012-02-20 11:01AugustoMauchNote Added: 0045261
2012-02-20 11:01AugustoMauchStatusresolved => closed
2012-02-20 11:01AugustoMauchFixed in Version => 3.0MP9
2012-03-02 15:38hudsonbotCheckin
2012-03-02 15:38hudsonbotNote Added: 0045888

Notes
(0045250)
dbaz   
2012-02-18 01:35   
Attached a diff for the "Elaborated" solution. But it doesn't work when adding more rows. Since the way to fix it is not trivial and it seems that it would require Smartclient support, and since the issue impact with "Fast" solution is not so big, the "Fast" solution is finally implemented.

If the issue returns, the "Elaborated" solution will be retried.
(0045251)
hgbot   
2012-02-18 01:38   
Repository: erp/devel/pi
Changeset: c5f71c8919355f5610a1464d9b7f2883bc365778
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sat Feb 18 01:37:35 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c5f71c8919355f5610a1464d9b7f2883bc365778 [^]

Fixed issue 19807: [P&E] added mouse effects to 'Delete' button

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/process/iconDelete.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/process/iconDelete_Down.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/process/iconDelete_Over.png
---
(0045261)
AugustoMauch   
2012-02-20 11:01   
Code reviewed and verified on live builds, revision #5e8637a2a10b65ccaa75b357399c0463d025703e
(0045888)
hudsonbot   
2012-03-02 15:38   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^]

Maturity status: Test