Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036041 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Discounts and Promotions | major | always | 2017-05-16 11:19 | 2017-05-25 14:34 | |||
Reporter | lorenzofidalgo | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1ab49b21efc0 | ||||
Projection | none | ETA | none | Target Version | RR17Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-08-24 | |||||||
Regression introduced in release | RR16Q4.3 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/94dca5a2d2faa9390d578f061ce048616aa03514 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036041: [RR17Q2] POS breaks when several discounts are applied to same product | |||||||
Description | When two discounts are applied to same product, adding several lines of same discounted product induces errors in POS. I have reproduced this issue in RR17Q2, RR17Q1.1 and RR16Q4.3. I have not been able to reproduce this issue in RR16Q3.5 or RR16Q2.4. This issue has been reproduced following these test cases: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9442 [^] https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9443 [^] | |||||||
Steps To Reproduce | Log in ERP as Group -Admin-The White Valley Group Go to Discounts and Promotions window Create new record Header tab Discount type: Buy X pay Y of same product Name: Discount 3x2 of same product (Re-Factor) Starting date: 01-01-2012 Priority: 10 Apply Next Discount/Promotion: Unchecked Included Products: Only those defined X: 3 Y: 2 Products tab Product: Bottle 1 L Product configuration: Log in ERP as Group -Admin-The White Valley Group Go to product window Then select product “Bottle 1L” Then change the field “Grouped” to · Grouped: Unchecked Then click Ctrl + s to save the changes ---- In Discounts and Promotions window Create new record Header tab Discount type: Buy X pay Y of Different product Name: Discount 3x2 (Re-Factor II) Starting date: 01-01-2012 Priority: 20 Apply Next Discount/Promotion: Unchecked Included Products: Only those defined X: 3 Y: 2 Products tab Product: Bottle 1 L Product: Plastic Bottle Product configuration: Log in ERP as Group -Admin-The White Valley Group Go to product window Then select product “Plastic Bottle” Then change the field “Grouped” to · Grouped: Unchecked Then click Ctrl + s to save the changes ---- Now, go to POS, login, search Bottle 1L product and click 6 times to add 6 Bottle 1L to the receipt. Verify that the total amount of the receipt is not properly calculated, and the button becomes stuck. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0096672) hgbot (developer) 2017-05-19 10:10 |
Repository: retail/backports/3.0RR17Q2/org.openbravo.retail.posterminal Changeset: 1ab49b21efc0fa4a0761578bd06556a15d91582e Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri May 19 12:07:23 2017 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR17Q2/org.openbravo.retail.posterminal/rev/1ab49b21efc0fa4a0761578bd06556a15d91582e [^] Fixed issue 36041 : Validated promotions while calculating receipt taxes * In some cases, Promotions Amount will be zero. So it needs to be validated to calculate receipt --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0096673) hgbot (developer) 2017-05-19 10:11 |
Repository: retail/backports/3.0RR17Q2/pi-mobile Changeset: 41b76e9a2dcc940f1f190123e7b0479d815e47a3 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri May 19 12:07:19 2017 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR17Q2/pi-mobile/rev/41b76e9a2dcc940f1f190123e7b0479d815e47a3 [^] Verifies issue 36041 : Added automated test 'I36041_VerifyDiscountWithNonGroupedProduct' --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I36041_VerifyDiscountWithNonGroupedProduct.java --- |
(0096801) hgbot (developer) 2017-05-25 14:34 |
Repository: tools/automation/pi-mobile Changeset: 41b76e9a2dcc940f1f190123e7b0479d815e47a3 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri May 19 12:07:19 2017 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/41b76e9a2dcc940f1f190123e7b0479d815e47a3 [^] Verifies issue 36041 : Added automated test 'I36041_VerifyDiscountWithNonGroupedProduct' --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I36041_VerifyDiscountWithNonGroupedProduct.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-05-18 15:50 | marvintm | Type | defect => backport |
2017-05-18 15:50 | marvintm | Target Version | => RR17Q2 |
2017-05-19 10:10 | hgbot | Checkin | |
2017-05-19 10:10 | hgbot | Note Added: 0096672 | |
2017-05-19 10:10 | hgbot | Status | scheduled => resolved |
2017-05-19 10:10 | hgbot | Resolution | open => fixed |
2017-05-19 10:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fbd0b50f1ad90e371e34413b47ee88a1bdaa256 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2/org.openbravo.retail.posterminal/rev/1ab49b21efc0fa4a0761578bd06556a15d91582e [^] |
2017-05-19 10:11 | hgbot | Checkin | |
2017-05-19 10:11 | hgbot | Note Added: 0096673 | |
2017-05-22 18:22 | marvintm | Review Assigned To | => marvintm |
2017-05-22 18:22 | marvintm | Status | resolved => closed |
2017-05-22 18:22 | marvintm | Fixed in Version | => RR17Q2 |
2017-05-24 12:01 | marvintm | Relationship added | related to 0036082 |
2017-05-24 12:02 | marvintm | Steps to Reproduce Updated | View Revisions |
2017-05-25 14:34 | hgbot | Checkin | |
2017-05-25 14:34 | hgbot | Note Added: 0096801 |
Copyright © 2000 - 2009 MantisBT Group |