Notes |
|
(0111678)
|
hgbot
|
2019-05-15 08:09
|
|
|
|
(0111679)
|
hgbot
|
2019-05-15 08:09
|
|
Repository: tools/automation/pi-mobile
Changeset: 4d3cc1d59f2519c683bda653d2c9d675046872cb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 15 11:39:39 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4d3cc1d59f2519c683bda653d2c9d675046872cb [^]
Verifies issue 40812 : Modified MultiDiscounts automated test
* Multidiscounts_FixedAmount.java
* Multidiscounts_FixedPercentage.java
* Multidiscounts_VariableAmount.java
* Multidiscounts_VariablePercentage.java
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_FixedAmount.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_FixedPercentage.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_VariableAmount.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_VariablePercentage.java
---
|
|
|
(0111717)
|
jorge-garcia
|
2019-05-16 12:35
|
|
The solution is not completely correct.
In this scenario, the only point which is wrong is the one defined in step 7.
Unless "Allow multiple instances per line" is set in discount configuration, if the user tries to apply the same manual promotion twice, even if the percentage or amount to discount is different, the manual promotion should no change.
This behavior is different if the user sets the override check, in this case, the previous promotion must be deleted and the new one must be applied. |
|
|
(0111778)
|
hgbot
|
2019-05-20 04:25
|
|
|
|
(0111779)
|
hgbot
|
2019-05-20 04:32
|
|
Repository: tools/automation/pi-mobile
Changeset: 2ee962a4292c6eadc87792f32f9eb1352859e096
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 20 07:53:22 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2ee962a4292c6eadc87792f32f9eb1352859e096 [^]
Verifies issue 40812 : Backed out changeset: 4d3cc1d59f25
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_FixedAmount.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_FixedPercentage.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_VariableAmount.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multidiscounts/Multidiscounts_VariablePercentage.java
---
|
|
|
(0112057)
|
hgbot
|
2019-05-22 04:29
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 262e8aeedacdd03e99c860fbf57619be735ef3e4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 22 07:58:48 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/262e8aeedacdd03e99c860fbf57619be735ef3e4 [^]
Fixed issue 40812 : Manual Promotions should not override the existing promotions present in the receipt
* When applying manual promotion, if override option is checked, then existing manual promotion should be replaced by new manual promotion.
If override option is not checked, it should not replace existing manual promotion
* Manual promotion doesn't consume the qtyOffer. So if manual promotion is added with override option, it should not replace the automatic discounts
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0112058)
|
hgbot
|
2019-05-22 04:29
|
|
Repository: tools/automation/pi-mobile
Changeset: 0aec79ceddc7bf903c12386fddfd07acf3d909c6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 22 07:55:22 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0aec79ceddc7bf903c12386fddfd07acf3d909c6 [^]
Verifies issue 40812 : Added automated test 'I40812_VerifyMultiManualDiscounts'
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I40812_VerifyMultiManualDiscounts.java
---
|
|
|
(0112078)
|
jorge-garcia
|
2019-05-23 09:48
|
|
The following basic scenario is not working
1) Add a product to the ticket
2) Apply a discount of "disc_5_var_perc - 5%" to all lines
3) Check the promotion is added to the line (this is correct)
4) Try to apply to all lines the same promotion with a 10%
5) Check the 5% promotion is in the ticket and 10% not (this is correct)
6) Try to apply to all lines the same promotion with a 15% and with Override flag checked.
7) Check the 5% promotion is in the ticket and 15% not (this is wrong).
This scenario has been tested in a environment with all external modules installed. |
|
|
(0112154)
|
hgbot
|
2019-05-27 09:31
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: 2b9c28f2fe3250e21cf413407157e38ffef9dd55
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 27 13:00:51 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/2b9c28f2fe3250e21cf413407157e38ffef9dd55 [^]
Related to issue 40812 : Order Manual Promotions should be reset when total discount is applied with override flag checked
* If Multiple Instance is enabled and override is selected, then Order Manual Promotions should be reset
---
M web/org.openbravo.retail.discounts.bytotal/js/preApplyDiscountsHook.js
---
|
|
|
(0112165)
|
hgbot
|
2019-05-27 12:56
|
|
Repository: tools/automation/pi-mobile
Changeset: 68c640fc6864989075ee18820cb74ea6252d4021
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 27 16:26:46 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/68c640fc6864989075ee18820cb74ea6252d4021 [^]
Verifies issue 40812 : Added automated test 'I40812_VerifyMultiManualTotalDiscounts'
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I40812_VerifyMultiManualDiscounts.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bytotal/I40812_VerifyMultiManualTotalDiscounts.java
---
|
|
|
(0112275)
|
jorge-garcia
|
2019-05-30 16:03
|
|
|