Notes |
|
(0080123)
|
NaroaIriarte
|
2015-09-04 13:52
(edited on: 2015-09-04 14:27) |
|
The export for the issue has been attached "issue30761.export".
|
|
|
|
A diff called "relatedIssue30761.diff" has been attached, the aim of this fix is to be able to take into account the grid configuration project regarding to the filtering of foreign key combos. |
|
|
|
30761-custom-hql-selector.export takes into account parent grid for selectors based on a custom HQL |
|
|
(0081065)
|
hgbot
|
2015-10-19 10:43
|
|
Repository: erp/devel/pi
Changeset: d4876fe991ad90afe2580a1d629d4183efa2fd2e
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Fri Sep 04 13:43:38 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d4876fe991ad90afe2580a1d629d4183efa2fd2e [^]
related to issue 30761: Product characteristics popup does not work properly
If any FK filter is used, the values shown in the other filters are restricted by them. This was not
happening with the product characteristics popu. In this case the whole tree was shown.
To fix this some steps have been done.
First of all it was necessary to change the where clause to take into account the filters applied in the grid.
On the other hand it has been necessary to take into account when a filter was applied in the "Product Characteristics"
column, because if at first you choose a value of a product characteristic, the second time you open the popup of
product characteristics, it is not possible to see any other product characteristic but the one previously chosen. That
was not working fine, it only has to take into account the filters applied in the grid.
To fix this, the product characteristics criteria has been removed if it existed one, and these all changes make possible to
have the values of the product characteristics filtered applying the filters of the grid but not taking into account the value
chosen in the first moment in the product characteristics popup.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataEntityQueryService.java
M src/org/openbravo/materialmgmt/ProductCharacteristicsDS.java
---
|
|
|
(0081066)
|
hgbot
|
2015-10-19 10:43
|
|
Repository: erp/devel/pi
Changeset: 5392e884b08e472d4c3044abd8d1a75cca1a93ba
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Mon Oct 19 09:41:59 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5392e884b08e472d4c3044abd8d1a75cca1a93ba [^]
related to issue 30761: improved product characteristics selector
Take into account grid configuration in product characteristics selector, to
make it work in the same manner other selectors do:
- By default grid filter critieria is applied
- It can be configured not to apply any criteria
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/CharacteristicsUIDefinition.java
---
|
|
|
(0081067)
|
hgbot
|
2015-10-19 10:43
|
|
Repository: erp/devel/pi
Changeset: 7adf844c1fb504476fd44cafdb34100f3687cae3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Sep 07 09:58:01 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7adf844c1fb504476fd44cafdb34100f3687cae3 [^]
fixed issue 30761: product characteristics popup shows all values
Filter out values in product characteristics popup when the parent grid is a
selector based on a custom HQL query.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
M src/org/openbravo/materialmgmt/ProductCharacteristicsDS.java
---
|
|
|
|
Code reviewed and verified in pi@7adf844c1fb5 |
|
|
|
|
|
|
|
|
|
|