Notes |
|
(0105190)
|
jorge-garcia
|
2018-06-18 08:50
|
|
The issue is not reproducible in PI following the steps to reproduce, feedback requested. |
|
|
(0105287)
|
hgbot
|
2018-06-20 18:41
|
|
|
|
|
The solution is not correct. The modified model is a generatedStructure model, so it is generated automatically from the DAL model. We don't want or need to change this, so this part should be reverted. We also don't need to change the name of the variable, or the way the model is registered, all of this was correct.
Instead, the main problem is that the request to load the model structure is not being cached inside the application cache. To solve this problem, we need to add the request to the manifest, like it is currently done in ApplicationCacheComponent.java.
However, this model exists inside a module, so we need to implement a CoreAppCacheResourceProvider class, and then add the request there. You can check DiscountsByTotalAppCacheProvider.java for a very similar example. |
|
|
(0105371)
|
hgbot
|
2018-06-25 19:00
|
|
|
|
(0105457)
|
hgbot
|
2018-06-26 20:56
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: e005c70552cff64066896a5d9f11fc7943b2eea9
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Jun 26 14:40:22 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/e005c70552cff64066896a5d9f11fc7943b2eea9 [^]
Related to issue 38736: Problem when applying a scaled price discount on the Web
POS in OFFLINE mode
- Implemented a CoreAppCacheResourceProvider class to load the OBDSCAL_Scale
model structure inside the application cache
---
A src/org/openbravo/retail/discounts/scaledprice/DiscountsScaledPriceAppCacheProvider.java
---
|
|
|
(0105678)
|
hgbot
|
2018-07-09 15:19
|
|
Repository: tools/automation/pi-mobile
Changeset: 07dd8157c00618010cda3d8276db4c8e920328eb
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Thu Jul 05 09:07:09 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/07dd8157c00618010cda3d8276db4c8e920328eb [^]
Related to issue 38736: added automated test
---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/multidiscounts/I38736_VerifyScalePriceDiscountInOfflineMode.java
---
|
|
|
(0109240)
|
hgbot
|
2019-01-24 17:05
|
|
Repository: tools/automation/pi-mobile
Changeset: 0ced71588d1690c7e13d064fb848dfc8bc1a4230
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jan 22 14:43:46 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0ced71588d1690c7e13d064fb848dfc8bc1a4230 [^]
Related to issue 38736: test has been refactored due it no longer creates its own
sampledata.
---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38736_VerifyScalePriceDiscountInOfflineMode.java
---
|
|