Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027085 | Openbravo ERP | B. User interface | public | 2014-07-15 16:10 | 2014-09-25 11:30 |
|
Reporter | dbaz | |
Assigned To | dbaz | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027085: Add a level image clientClass component |
Description | Add a level image component. This component pretends to be a more visual solution for representing scale of values.
In the first implementation, the component will accept 5 status.
By default it will translate values from 0 to 5 to each corresponding level image |
Steps To Reproduce | . |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-07-15 16:10 | dbaz | New Issue | |
2014-07-15 16:10 | dbaz | Assigned To | => dbaz |
2014-07-15 16:10 | dbaz | OBNetwork customer | => No |
2014-07-15 16:10 | dbaz | Modules | => Core |
2014-07-15 16:10 | dbaz | Triggers an Emergency Pack | => No |
2014-07-15 16:18 | dbaz | Note Added: 0068646 | |
2014-07-15 16:18 | dbaz | Note Added: 0068647 | |
2014-07-15 16:18 | dbaz | Review Assigned To | => alostale |
2014-07-15 16:19 | dbaz | Note Edited: 0068647 | bug_revision_view_page.php?bugnote_id=0068647#r6055 |
2014-07-15 16:24 | hgbot | Checkin | |
2014-07-15 16:24 | hgbot | Note Added: 0068648 | |
2014-07-15 16:24 | hgbot | Status | new => resolved |
2014-07-15 16:24 | hgbot | Resolution | open => fixed |
2014-07-15 16:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fae30caac4cc20cf76a4cf859309a262ad0bd976 [^] |
2014-07-18 11:50 | alostale | Note Added: 0068726 | |
2014-07-18 11:50 | alostale | Status | resolved => closed |
2014-07-18 11:50 | alostale | Fixed in Version | => 3.0PR14Q4 |
2014-07-30 01:38 | hgbot | Checkin | |
2014-07-30 01:38 | hgbot | Note Added: 0068965 | |
2014-08-08 00:16 | hgbot | Checkin | |
2014-08-08 00:16 | hgbot | Note Added: 0069120 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069164 | |
2014-08-08 18:54 | hudsonbot | Checkin | |
2014-08-08 18:54 | hudsonbot | Note Added: 0069236 | |
2014-08-08 18:54 | hudsonbot | Checkin | |
2014-08-08 18:54 | hudsonbot | Note Added: 0069271 | |
2014-09-23 10:27 | hgbot | Checkin | |
2014-09-23 10:27 | hgbot | Note Added: 0070269 | |
2014-09-25 11:30 | hudsonbot | Checkin | |
2014-09-25 11:30 | hudsonbot | Note Added: 0070350 | |
Notes |
|
(0068646)
|
dbaz
|
2014-07-15 16:18
|
|
The new component is: OBLevelImg
The list of values to be translated to each one of the img status is, by default:
valuesList: [0, 1, 2, 3, 4]
but, of course, the developer can overwrite the list. |
|
|
(0068647)
|
dbaz
|
2014-07-15 16:18
(edited on: 2014-07-15 16:19) |
|
A possible way to test it, although with no sense from the usability point of view, is:
As "System Administrator"
Go to "Windows, Tabs and Fields"
Select the "Sales Invoice" window
Select the "Header" child tab
Select the "Currency" child tab
In the "Currency" field set the following as "clientClass":
OBLevelImg {"valuesList":["dummy1", "100", "dummy2", "dummy3", "102"]}
Save and logout
As "Openbravo Admin"
Go to "Sales Invoice" window
Notice that depending if the "Currency" is USD or EUR, you will see a different image for each case.
|
|
|
(0068648)
|
hgbot
|
2014-07-15 16:24
|
|
Repository: erp/devel/pi
Changeset: fae30caac4cc20cf76a4cf859309a262ad0bd976
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Jul 15 16:23:43 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fae30caac4cc20cf76a4cf859309a262ad0bd976 [^]
Fixed issue 27085: Added 'OBLevelImg' component
that should be used as a 'clientClass' component.
It will translate the values of the field into a level img that can go from 0 to 5.
If you want to change the scale values you have to overwrite the component, and do solutions like:
"valuesList":["none", "weak", "small", "medium", "high"]
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/form/levelImg_0_4.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/form/levelImg_1_4.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/form/levelImg_2_4.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/form/levelImg_3_4.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/form/levelImg_4_4.png
---
|
|
|
|
|
|
(0068965)
|
hgbot
|
2014-07-30 01:38
|
|
Repository: erp/devel/pi
Changeset: 7ad630b1df1f129b00f4cf29ee3ce7bb716e5707
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Jul 30 01:37:56 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7ad630b1df1f129b00f4cf29ee3ce7bb716e5707 [^]
Related to issue 27083, Related to issue 27085, Related to issue 26635:
* Now clientClass OBGridFromButton used as editorType doesn't span the row width
* 'isShownInGridEdit' now it works ok in grid view (pick and execute grids still pending)
* 'canEdit' can be overwritten by specifying it in the clientClass widget
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
(0069120)
|
hgbot
|
2014-08-08 00:16
|
|
Repository: erp/devel/pi
Changeset: e5b0eccfb86ca3d325b9d4ec5e936f39ace06b20
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Fri Aug 08 00:16:26 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e5b0eccfb86ca3d325b9d4ec5e936f39ace06b20 [^]
Related to issue 27085: Added to OBLevelImg the case when no level is specified
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
---
|
|
|
|
|
|
|
|
|
|
|
|
(0070269)
|
hgbot
|
2014-09-23 10:27
|
|
Repository: erp/devel/pi
Changeset: 5c1c196b704e4854aeed0714cd45e3d034e127f9
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Aug 12 19:41:57 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5c1c196b704e4854aeed0714cd45e3d034e127f9 [^]
Related to issue 27085: Added defaut 'blank' image
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
---
|
|
|
|
|