Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022901 | Openbravo ERP | A. Platform | public | 2013-01-26 16:20 | 2013-02-01 22:29 |
|
Reporter | dbaz | |
Assigned To | dbaz | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP20 | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0022901: Add "clientClass" field to QueryList widget and standarize its definition way |
Description | Currently regular windows have defined a "clientClass" attribute that lets them render a canvas in a cell in the grid view. The widget to render will be the one defined in the "clientClass".
The idea is do the same in QueryList widget "Query -> Column" definition.
Right now for OBGrid (used by QuertList, AlertGrid, P%E, ...) there is only a "isLink" attribute that let introduce a canvas that shows a link that emulates a "cellClick". The idea is maintain it for backward compatibility purposes, but also add the "clientClass" implementation for all grids.
Also, since OBGridView implements its own "clientClass" handler, it should be moved (and extended) to OBGrid to let all grids use it in the same way. |
Steps To Reproduce | See the comments. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0019122 | 3.0MP6 | closed | mtaal | Support calculated fields | related to | feature request | 0022902 | | closed | dbaz | Create a "Print" link button to be used within QueryList widget |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-01-26 16:20 | dbaz | New Issue | |
2013-01-26 16:20 | dbaz | Assigned To | => dbaz |
2013-01-26 16:20 | dbaz | Modules | => Core |
2013-01-26 16:20 | dbaz | Triggers an Emergency Pack | => No |
2013-01-26 16:21 | dbaz | Relationship added | related to 0019122 |
2013-01-26 16:29 | dbaz | Note Added: 0055879 | |
2013-01-26 16:47 | dbaz | Note Edited: 0055879 | bug_revision_view_page.php?bugnote_id=0055879#r4303 |
2013-01-26 16:48 | dbaz | Note Edited: 0055879 | bug_revision_view_page.php?bugnote_id=0055879#r4304 |
2013-01-26 17:40 | dbaz | Relationship added | related to 0022902 |
2013-01-26 21:52 | dbaz | Review Assigned To | => mtaal |
2013-01-26 21:53 | hgbot | Checkin | |
2013-01-26 21:53 | hgbot | Note Added: 0055881 | |
2013-01-26 21:53 | hgbot | Status | new => resolved |
2013-01-26 21:53 | hgbot | Resolution | open => fixed |
2013-01-26 21:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ef2e15e1a780d66ea054d5af701f734bab11343a [^] |
2013-01-27 00:41 | hgbot | Checkin | |
2013-01-27 00:41 | hgbot | Note Added: 0055883 | |
2013-01-27 00:56 | hgbot | Checkin | |
2013-01-27 00:56 | hgbot | Note Added: 0055884 | |
2013-01-27 11:34 | hudsonbot | Checkin | |
2013-01-27 11:34 | hudsonbot | Note Added: 0055886 | |
2013-01-27 11:34 | hudsonbot | Checkin | |
2013-01-27 11:34 | hudsonbot | Note Added: 0055888 | |
2013-01-27 11:34 | hudsonbot | Checkin | |
2013-01-27 11:34 | hudsonbot | Note Added: 0055889 | |
2013-01-28 09:42 | mtaal | Note Added: 0055893 | |
2013-01-28 09:42 | mtaal | Status | resolved => closed |
2013-01-28 09:42 | mtaal | Fixed in Version | => 3.0MP20 |
2013-01-31 22:52 | hgbot | Checkin | |
2013-01-31 22:52 | hgbot | Note Added: 0056032 | |
2013-02-01 22:29 | hudsonbot | Checkin | |
2013-02-01 22:29 | hudsonbot | Note Added: 0056105 | |
Notes |
|
(0055879)
|
dbaz
|
2013-01-26 16:29
(edited on: 2013-01-26 16:48) |
|
Risk: medium
1) Test that previous canvas in grid are still working ok:
As "Openbravo Admin"
* Go to "Sales Order"
* Notice that the latest grid columns "Delivery Status" and "Invoice Status" are still shown as before. Play also with add row/new row and ensure that the look and feel is the same than before
As "Openbravo Admin"
* Go to "Return from customer"
* Create new header
* Click "Pick/Edit Lines"
* Add any line with any value
* Notice that the columns "Returned Quantity", "Received Quantity", "Invoiced Quantity", "Line Net Amout" colums are still shown as before.
As "Openbravo Admin"
* Go to "Alert Management" window
* Ensure that grid links are shown and works as before
As "Openbravo Admin"
* Add "Invoices to collect" widget
* Ensure that links are shown and works as before
2) Test that "clientClass" field in "Widget -> Query -> Column" works
As "System Administrator"
* Go to "Widget" window
* Select record with "Widget Title": "Invoices to collect"
* Go to "Query" subtab
* Go to "Column" subtab
* Go to record "Amount" and add "OBAddPercentageSign" in the "Clientclass" input. Save
* Go to record "Currency" and add "OBAddPercentageSign" in the "Clientclass" input. Save
As "Openbravo Admin"
* Add "Invoices to collect" widget
* Ensure that "Amount" and "Currency" columns show the "%" sign in the text
|
|
|
(0055881)
|
hgbot
|
2013-01-26 21:53
|
|
Repository: erp/devel/pi
Changeset: ef2e15e1a780d66ea054d5af701f734bab11343a
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sat Jan 26 17:16:16 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ef2e15e1a780d66ea054d5af701f734bab11343a [^]
Fixed issue 22901: Added 'clientClass' to OBGrid
to let use canvas based items in grids
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
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
M modules/org.openbravo.client.querylist/src-db/database/model/tables/OBCQL_QUERY_COLUMN.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListComponentProvider.java
M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListUtils.java
M modules/org.openbravo.client.querylist/web/org.openbravo.client.querylist/js/ob-querylist-widget.js
A modules/org.openbravo.client.querylist/web/org.openbravo.client.querylist/js/ob-querylist-canvas-item.js
---
|
|
|
(0055883)
|
hgbot
|
2013-01-27 00:41
|
|
Repository: erp/devel/pi
Changeset: 16eca807e2a34fdac151926a35fb16676fc663e2
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sun Jan 27 00:38:37 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/16eca807e2a34fdac151926a35fb16676fc663e2 [^]
Related to issue 22901: Added a way to define in the own widget
if it should be displayed or not if the row is in edit mode
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
|
|
|
(0055884)
|
hgbot
|
2013-01-27 00:56
|
|
|
|
|
|
|
|
|
|
|
|
|
(0055893)
|
mtaal
|
2013-01-28 09:42
|
|
|
|
(0056032)
|
hgbot
|
2013-01-31 22:52
|
|
Repository: erp/devel/pi
Changeset: f16520f2d3f1466dbae4afdbc0fe93e414dde841
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Jan 31 22:51:46 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f16520f2d3f1466dbae4afdbc0fe93e414dde841 [^]
Related to issue 22901: Improved clientClass properties settings
---
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/utilities/ob-utilities.js
---
|
|
|
|
|