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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027083
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] B. User interfacemajoralways2014-07-15 15:592014-08-08 18:54
ReporterdbazView Statuspublic 
Assigned Todbaz 
PriorityhighResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revisione057b2048ddd
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

0027083: clientClass should be more customizable

DescriptionclientClass items should be more customizable

Right now it cannot be specified:
* cellAlign
* canSort
* canFilter
* filterEditorType
* editorType

Even more, in the case of a clientClass in a field with an associated column, the filterEditorType at this moment is overwritten to "TextItem", where probably it would be more interesting inherint the one coming from the own reference, and in case it should be overwritten, have a mechanism for doing it
Steps To ReproduceAs "Openbravo Admin" go to grid view of "Sales Order" and note that "Delivery Status" and "Invoice Status" columns, have a pure-white background input in the filter row, while other elements have a more greenish background. Also, if you write anything in their filters, the value entered is ignored. This is because the filterEditorType has been overwritten to "TextItem"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068644)
hgbot (developer)
2014-07-15 16:05

Repository: erp/devel/pi
Changeset: e057b2048ddd59d678f4ae20015f4eb884b70baa
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Jul 15 16:04:57 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e057b2048ddd59d678f4ae20015f4eb884b70baa [^]

Fixed issue 27083: Extended capabilities of 'clientClass' fields:
* Now the 'filterEditorType' is inherited from the parent reference instead of hardcode it to 'TextItem'
* 'cellAlign' can be overwritten by specifying it in the clientClass widget
* 'canSort' can be overwritten by specifying it in the clientClass widget
* 'canFilter' can be overwritten by specifying it in the clientClass widget
* 'filterEditorType' can be overwritten by specifying it in the clientClass widget
* 'editorType' can be overwritten by specifying it in the clientClass widget

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
(0068765)
alostale (manager)
2014-07-21 15:02

code reviewed + tested
(0068964)
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
---
(0069163)
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
(0069235)
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

- Issue History
Date Modified Username Field Change
2014-07-15 15:59 dbaz New Issue
2014-07-15 15:59 dbaz Assigned To => dbaz
2014-07-15 15:59 dbaz Modules => Core
2014-07-15 15:59 dbaz Triggers an Emergency Pack => No
2014-07-15 16:00 dbaz Review Assigned To => alostale
2014-07-15 16:03 dbaz Description Updated View Revisions
2014-07-15 16:03 dbaz Steps to Reproduce Updated View Revisions
2014-07-15 16:05 hgbot Checkin
2014-07-15 16:05 hgbot Note Added: 0068644
2014-07-15 16:05 hgbot Status new => resolved
2014-07-15 16:05 hgbot Resolution open => fixed
2014-07-15 16:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e057b2048ddd59d678f4ae20015f4eb884b70baa [^]
2014-07-21 15:02 alostale Note Added: 0068765
2014-07-21 15:02 alostale Status resolved => closed
2014-07-21 15:02 alostale Fixed in Version => 3.0PR14Q4
2014-07-30 01:38 hgbot Checkin
2014-07-30 01:38 hgbot Note Added: 0068964
2014-08-08 18:53 hudsonbot Checkin
2014-08-08 18:53 hudsonbot Note Added: 0069163
2014-08-08 18:54 hudsonbot Checkin
2014-08-08 18:54 hudsonbot Note Added: 0069235


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker