Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027085
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] B. User interfaceminoralways2014-07-15 16:102014-09-25 11:30
ReporterdbazView Statuspublic 
Assigned Todbaz 
PriorityhighResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revisionfae30caac4cc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027085: Add a level image clientClass component

DescriptionAdd 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068646)
dbaz (developer)
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 (developer)
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 (developer)
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
---
(0068726)
alostale (manager)
2014-07-18 11:50

code reviewed
(0068965)
hgbot (developer)
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 (developer)
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
---
(0069164)
hudsonbot (developer)
2014-08-08 18:53

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/4450016dee64 [^]
Maturity status: Test
(0069236)
hudsonbot (developer)
2014-08-08 18:54

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/4450016dee64 [^]
Maturity status: Test
(0069271)
hudsonbot (developer)
2014-08-08 18:54

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/4450016dee64 [^]
Maturity status: Test
(0070269)
hgbot (developer)
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
---
(0070350)
hudsonbot (developer)
2014-09-25 11:30

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/63604e8e17b7 [^]
Maturity status: Test

- 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 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker