Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041008 | Retail Modules | Web POS | public | 2019-06-03 09:50 | 2019-07-22 16:30 |
|
Reporter | xabiermerino | |
Assigned To | ranjith_qualiantech_com | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR19Q4 | |
Merge Request Status | |
Review Assigned To | guilleaer |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0041008: Negative price using promotions in different scenarios |
Description | Scenario 1:
1.-Scaled price: --> Category A
* Unit 1 --> 0%
* Unit 2 --> 0%
* Unit 3 --> 100%
2.-Price adjustment (10%) --> Category A
Scenario 2:
1.-Scaled price: --> Category A
* Unit 1 --> 0%
* Unit 2 --> 0%
* Unit 3 --> 100%
2.- Discount per total amount (coupon)
* Total receipt = 10
* Amount = 3 |
Steps To Reproduce | Scenario 1:
* Create a ticket with three different products of Category A
* Realize that, the line with 100% of discount is synchronized with negative price
Scenario 2:
* Select a list of product to introduce promo 1
* Introduce a coupon of the second discount |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0040938 | | closed | ranjith_qualiantech_com | Negative line if a Scaled prices is applied twice | related to | defect | 0041219 | | closed | rqueralta | The information of a promotion is not saved in the ticket if the discount is 0 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-06-03 09:50 | xabiermerino | New Issue | |
2019-06-03 09:50 | xabiermerino | Assigned To | => Retail |
2019-06-03 09:50 | xabiermerino | Resolution time | => 1560981600 |
2019-06-03 09:50 | xabiermerino | Triggers an Emergency Pack | => No |
2019-06-04 10:27 | xabiermerino | Summary | Negative amount using promotions in different scenarios => Negative price using promotions in different scenarios |
2019-06-04 10:27 | xabiermerino | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18869#r18869 |
2019-06-04 11:04 | xabiermerino | Description Updated | bug_revision_view_page.php?rev_id=18875#r18875 |
2019-06-04 11:04 | xabiermerino | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18876#r18876 |
2019-06-05 12:10 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-06-05 12:10 | ranjith_qualiantech_com | Status | new => scheduled |
2019-06-05 14:14 | ranjith_qualiantech_com | Relationship added | related to 0040938 |
2019-06-10 07:54 | hgbot | Checkin | |
2019-06-10 07:54 | hgbot | Note Added: 0112527 | |
2019-06-10 10:18 | hgbot | Checkin | |
2019-06-10 10:18 | hgbot | Note Added: 0112532 | |
2019-06-11 07:46 | hgbot | Checkin | |
2019-06-11 07:46 | hgbot | Note Added: 0112561 | |
2019-06-11 07:46 | ranjith_qualiantech_com | Status | scheduled => resolved |
2019-06-11 07:46 | ranjith_qualiantech_com | Resolution | open => fixed |
2019-06-27 16:12 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-06-28 09:28 | jorge-garcia | Note Added: 0113091 | |
2019-06-28 09:28 | jorge-garcia | Status | resolved => new |
2019-06-28 09:28 | jorge-garcia | Resolution | fixed => open |
2019-06-28 11:53 | hgbot | Checkin | |
2019-06-28 11:53 | hgbot | Note Added: 0113097 | |
2019-06-28 11:54 | hgbot | Checkin | |
2019-06-28 11:54 | hgbot | Note Added: 0113098 | |
2019-06-28 11:54 | ranjith_qualiantech_com | Status | new => scheduled |
2019-07-10 14:51 | hgbot | Checkin | |
2019-07-10 14:51 | hgbot | Note Added: 0113255 | |
2019-07-11 04:14 | hgbot | Checkin | |
2019-07-11 04:14 | hgbot | Note Added: 0113260 | |
2019-07-11 11:01 | ranjith_qualiantech_com | Status | scheduled => resolved |
2019-07-11 11:01 | ranjith_qualiantech_com | Resolution | open => fixed |
2019-07-15 10:48 | jorge-garcia | Note Added: 0113365 | |
2019-07-15 10:48 | jorge-garcia | Status | resolved => closed |
2019-07-18 14:58 | ranjith_qualiantech_com | Relationship added | related to 0041219 |
2019-07-19 11:10 | ranjith_qualiantech_com | Note Added: 0113549 | |
2019-07-19 11:10 | ranjith_qualiantech_com | Status | closed => new |
2019-07-19 11:10 | ranjith_qualiantech_com | Resolution | fixed => open |
2019-07-19 11:10 | ranjith_qualiantech_com | Status | new => scheduled |
2019-07-19 11:11 | hgbot | Checkin | |
2019-07-19 11:11 | hgbot | Note Added: 0113550 | |
2019-07-20 07:55 | ranjith_qualiantech_com | Status | scheduled => resolved |
2019-07-20 07:55 | ranjith_qualiantech_com | Resolution | open => fixed |
2019-07-22 16:30 | guilleaer | Review Assigned To | jorge-garcia => guilleaer |
2019-07-22 16:30 | guilleaer | Status | resolved => closed |
2019-07-22 16:30 | guilleaer | Fixed in Version | => RR19Q4 |
Notes |
|
(0112527)
|
hgbot
|
2019-06-10 07:54
|
|
|
|
(0112532)
|
hgbot
|
2019-06-10 10:18
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: e6a12106dafc02106721ac5b20f4c324123248e1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 10 13:48:41 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/e6a12106dafc02106721ac5b20f4c324123248e1 [^]
Related to issue 41008 : Scaled Price should be applied on line price instead of discounted line price
* if line price is negative after applying scaled discount, then scaled discount should be applied as Zero
---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---
|
|
|
(0112561)
|
hgbot
|
2019-06-11 07:46
|
|
Repository: tools/automation/pi-mobile
Changeset: e865f6df12c76a97bd077ce6eefb8a97a383046e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 11 11:15:56 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e865f6df12c76a97bd077ce6eefb8a97a383046e [^]
Verifies issue 41008 : Added automated test 'I41008_VerifyDiscountWithPriceAdjustment'
---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother2.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/SplitLineWithAutomaticPromoFreeProdScaledPriceAndManualPromo.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I41008_VerifyDiscountWithPriceAdjustment.java
---
|
|
|
(0113091)
|
jorge-garcia
|
2019-06-28 09:28
|
|
In this case, the behavior is not correct:
Scenario 1:
1.-Scaled price: --> Category A with Priority 2
* Unit 1 --> 0%
* Unit 2 --> 0%
* Unit 3 --> 100%
2.-Price adjustment (10%) --> Category A with Priority 1
If we add three products to the ticket:
Product 1
--> Price Adjustment 10% discount (OK)
Product 2
--> Price Adjustment 10% discount (OK)
Product 3
--> Price Adjustment 10% discount (OK)
--> Scaled Price of 0.00€ (WRONG)
In this case, we expect that scaled price reduce the line price to 0.00 (which in this case will be the 90% of the original price), instead of applying a discount of 0.00 |
|
|
(0113097)
|
hgbot
|
2019-06-28 11:53
|
|
|
|
(0113098)
|
hgbot
|
2019-06-28 11:54
|
|
Repository: tools/automation/pi-mobile
Changeset: a25628aa159d7eb69fa317f602f6fb2770158413
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 28 14:43:16 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a25628aa159d7eb69fa317f602f6fb2770158413 [^]
Related to issue 41008 : Backed out changeset: e865f6df12c7
---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother2.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/SplitLineWithAutomaticPromoFreeProdScaledPriceAndManualPromo.java
R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I41008_VerifyDiscountWithPriceAdjustment.java
---
|
|
|
(0113255)
|
hgbot
|
2019-07-10 14:51
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: c99e6c7488a5ac3898f44aa57ac3cf4de299c6cf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 10 18:21:23 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/c99e6c7488a5ac3898f44aa57ac3cf4de299c6cf [^]
Related to issue 41008 : Scaled Price should be applied on discounted line price instead of line price
* if line price is negative after applying scaled discount, then scaled discount should be applied as Zero
---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---
|
|
|
(0113260)
|
hgbot
|
2019-07-11 04:14
|
|
Repository: tools/automation/pi-mobile
Changeset: 1ebd5a3820c7c1dac09c7e9b99da11ee821351c8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 11 07:44:00 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1ebd5a3820c7c1dac09c7e9b99da11ee821351c8 [^]
Verifies issue 41008 : Added automated test 'I41008_VerifyDiscountWithPriceAdjustment'
---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38813_VerifyDiscountWhenCanceledByAnother2.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I41008_VerifyDiscountWithPriceAdjustment.java
---
|
|
|
(0113365)
|
jorge-garcia
|
2019-07-15 10:48
|
|
|
|
|
Promotion should be added to line with amount zero, if the scaled percentage is defined as zero |
|
|
(0113550)
|
hgbot
|
2019-07-19 11:11
|
|
|