details:   https://code.openbravo.com/erp/devel/pi/rev/a555fcd23cc9
changeset: 21110:a555fcd23cc9
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Wed Sep 11 12:18:04 2013 +0200
summary:   fixed bug 24739: characteristics filter is not cleared in product 
selector

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 28e99892996e -r a555fcd23cc9 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
     Wed Sep 11 10:09:07 2013 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
     Wed Sep 11 12:18:04 2013 +0200
@@ -380,6 +380,12 @@
 
 isc.OBCharacteristicsFilterItem.addProperties({
   operator: 'exists',
+
+  // Allow expressions so when multiple expressions (different characteristics
+  // are selected) they are properly grouped and not stored in 
_extraAdvancedCriteria
+  // in DynamicForm.setValuesAsCriteria method, being possible in this way to 
properly
+  // clear filters. See issue #24739
+  allowExpressions: true,
   canEdit: false,
   disableIconsOnReadOnly: false,
   hqlExists: 'exists (from ProductCharacteristicValue v where 
{productInEntity} = v.product and v.characteristicValue.id in ($value))',

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to