commit 38adf157f0b2a386a49d6d1a1241a8b22d9a16b2
Author: Adrián Romero <adrian.romero@openbravo.com>
Date:   Fri Jul 23 11:07:47 2021 +0200

    Fixes ISSUE-0047441: Error when searching for products with the latest version of Chrome
    * Adds websql index for column m_characteristic_id in m_product_ch_value

diff --git a/web/org.openbravo.retail.posterminal/js/model/productcharacteristicvalue.js b/web/org.openbravo.retail.posterminal/js/model/productcharacteristicvalue.js
index d7876f63c..a8faafc14 100644
--- a/web/org.openbravo.retail.posterminal/js/model/productcharacteristicvalue.js
+++ b/web/org.openbravo.retail.posterminal/js/model/productcharacteristicvalue.js
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2015-2019 Openbravo S.L.U.
+ * Copyright (C) 2015-2021 Openbravo S.L.U.
  * Licensed under the Openbravo Commercial License version 1.0
  * You may obtain a copy of the License at http://www.openbravo.com/legal/obcl.html
  * or in the legal folder of this module distribution.
@@ -74,5 +74,12 @@
     }
   ]);
 
+  ProductCharacteristicValue.addIndex([{
+    name: 'm_ch_vl_char_idx',
+    columns: [{
+      name: 'm_characteristic_id'
+    }]
+  }]);
+
   OB.Data.Registry.registerModel(ProductCharacteristicValue);
 })();
