Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027083Openbravo ERPB. User interfacepublic2014-07-15 15:592014-08-08 18:54
dbaz 
dbaz 
highmajoralways
closedfixed 
5
 
3.0PR14Q4 
alostale
Core
No
0027083: clientClass should be more customizable
clientClass 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
As "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"
No tags attached.
Issue History
2014-07-15 15:59dbazNew Issue
2014-07-15 15:59dbazAssigned To => dbaz
2014-07-15 15:59dbazModules => Core
2014-07-15 15:59dbazTriggers an Emergency Pack => No
2014-07-15 16:00dbazReview Assigned To => alostale
2014-07-15 16:03dbazDescription Updatedbug_revision_view_page.php?rev_id=6051#r6051
2014-07-15 16:03dbazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6053#r6053
2014-07-15 16:05hgbotCheckin
2014-07-15 16:05hgbotNote Added: 0068644
2014-07-15 16:05hgbotStatusnew => resolved
2014-07-15 16:05hgbotResolutionopen => fixed
2014-07-15 16:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e057b2048ddd59d678f4ae20015f4eb884b70baa [^]
2014-07-21 15:02alostaleNote Added: 0068765
2014-07-21 15:02alostaleStatusresolved => closed
2014-07-21 15:02alostaleFixed in Version => 3.0PR14Q4
2014-07-30 01:38hgbotCheckin
2014-07-30 01:38hgbotNote Added: 0068964
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069163
2014-08-08 18:54hudsonbotCheckin
2014-08-08 18:54hudsonbotNote Added: 0069235

Notes
(0068644)
hgbot   
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   
2014-07-21 15:02   
code reviewed + tested
(0068964)
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
---
(0069163)
hudsonbot   
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   
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