Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023169 | Openbravo ERP | 00. Application dictionary | public | 2013-02-26 18:17 | 2013-03-13 14:44 |
|
Reporter | caristu | |
Assigned To | AugustoMauch | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP22 | Fixed in Version | 3.0MP22 | |
Merge Request Status | |
Review Assigned To | shankarb |
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 | 0023169: Dropdown column filters are not working properly with table reference |
Description | If we create a column with table reference, its drop-down filter is not working fine as it is necessary to choose two values to apply the filter. |
Steps To Reproduce | 1) Use or add a new field in a window, which is related to a column that uses a Table reference. The table used in the window, must have two or more columns marked as record identifier
2) Use the drop-down filter of the field, and select just one value. Notice that the filter is not applied.
3) Select two or more values in the filter. Notice that the filter is applied. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0023530 | 3.0MP23 | closed | mtaal | Filtering with a multiple value is not working properly |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-02-26 18:17 | caristu | New Issue | |
2013-02-26 18:17 | caristu | Assigned To | => AugustoMauch |
2013-02-26 18:17 | caristu | Modules | => Core |
2013-02-26 18:17 | caristu | Resolution time | => 1368396000 |
2013-02-26 18:17 | caristu | Triggers an Emergency Pack | => No |
2013-02-26 18:17 | caristu | Issue Monitored: networkb | |
2013-03-06 19:00 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=4473#r4473 |
2013-03-06 19:01 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=4474#r4474 |
2013-03-07 13:44 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-03-07 13:52 | caristu | Note Added: 0057138 | |
2013-03-07 13:53 | caristu | Note Edited: 0057138 | bug_revision_view_page.php?bugnote_id=0057138#r4486 |
2013-03-11 09:48 | AugustoMauch | Assigned To | shankarb => AugustoMauch |
2013-03-11 11:39 | AugustoMauch | Issue Monitored: shankarb | |
2013-03-11 11:40 | AugustoMauch | Review Assigned To | => shankarb |
2013-03-11 11:41 | hgbot | Checkin | |
2013-03-11 11:41 | hgbot | Note Added: 0057175 | |
2013-03-11 11:41 | hgbot | Status | new => resolved |
2013-03-11 11:41 | hgbot | Resolution | open => fixed |
2013-03-11 11:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fda718bfd9355e2e7e77cd0fb87a1b89bcead284 [^] |
2013-03-11 11:42 | AugustoMauch | Note Added: 0057176 | |
2013-03-13 14:44 | shankarb | Note Added: 0057229 | |
2013-03-13 14:44 | shankarb | Status | resolved => closed |
2013-03-13 14:44 | shankarb | Fixed in Version | => 3.0MP22 |
2013-04-10 17:24 | caristu | Relationship added | related to 0023530 |
Notes |
|
(0057138)
|
caristu
|
2013-03-07 13:52
(edited on: 2013-03-07 13:53) |
|
Steps to create the field to filter:
1) Create a new column for a table (for example c_order): ALTER TABLE c_order ADD COLUMN em_moduledbprefix_test VARCHAR(32);
As system admin:
2) Go to [Tables and Columns] and add the new field for the c_order table. Put "Table" as reference and "C_Bpartner" as reference search key.
3) Still in [Tables and Columns] go to "C_Bpartner" table and check off the "used as Record Identifier" checkbox in the "Value" column. At this moment, we'll have two columns selected as record identifier.
4) In [Windows, Tabs and Fields] add the new field for the Sales Order header.
5) ant smartbuild
As group admin:
6) In the [Sales Order] window, fill the recently created field for two different sales orders with two different values.
|
|
|
(0057175)
|
hgbot
|
2013-03-11 11:41
|
|
Repository: erp/devel/pi
Changeset: fda718bfd9355e2e7e77cd0fb87a1b89bcead284
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 11 11:38:39 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fda718bfd9355e2e7e77cd0fb87a1b89bcead284 [^]
Fixes issue 23169: Dropdown filters work working properly with table reference
In MP17 the advanced filter for dropdown list references was introduced. Before that change, it was needed to remove a duplicated criteria for foreign key references whose identifier was composed of more than one field. This removal is no longer needed.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
|
Test plan:
- Check that if the steps to reproduce are followed the issue no longer happens
- In that same column filter, instead of selection an option in the dropdown, write part of the name of a business partner and tab out. Check that the filter is also applied. |
|
|
(0057229)
|
shankarb
|
2013-03-13 14:44
|
|
Code reviewed and tested in pi changeset 4b43f5a6429b |
|