Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040460
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts by Totalmajoralways2019-03-26 15:472019-04-24 12:01
ReporterguillermogilView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040460: Discounts by Total are not applied properly based on priority

DescriptionDiscounts by Total are not applied properly based on priority. It seems to be taking into account the line price instead of the total price of the ticket.
Steps To Reproduce- Configure discount as image Image1.png
- Configure discount as image Image2.png
- Login on WebPOS
- Add product Basecamp Lantern with legs
  - Discount "by total 1" is applied correctly
- Add Avalanche Transceiver
  - Discount "by total 2" should be applied but it is only shows on the 2nd line - check Image3.png

If you modify the prices (Image4.png & Image5.png) the discount changes
TagsNo tags attached.
Attached Filespng file icon Image1.png [^] (100,129 bytes) 2019-03-26 15:47


png file icon Image2.png [^] (98,023 bytes) 2019-03-26 15:47


png file icon Image3.png [^] (366,724 bytes) 2019-03-26 15:48
png file icon Image4.png [^] (161,576 bytes) 2019-03-26 15:48


png file icon Image5.png [^] (161,960 bytes) 2019-03-26 15:48


diff file icon I40460_possibleFix.diff [^] (2,955 bytes) 2019-03-27 12:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040620 closedjorge-garcia The priority of promotions is not managed properly 

-  Notes
(0111076)
hgbot (developer)
2019-04-11 09:23

Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: 093996f367231f1ecac3ef3dc714ac649df21bd7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Apr 11 12:53:12 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/093996f367231f1ecac3ef3dc714ac649df21bd7 [^]

Related to issue 40460 : Update discount calculation for applying discounts based on priority

---
M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js
M web/org.openbravo.retail.discounts.bytotal/js/promotion-discounttotal.js
---
(0111086)
hgbot (developer)
2019-04-12 07:40

Repository: tools/automation/pi-mobile
Changeset: 799596a77295f88792acc98569c8ad5d4de7d3c1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Apr 12 11:10:22 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/799596a77295f88792acc98569c8ad5d4de7d3c1 [^]

Verifies issue 40460 : Added automated test 'I40460_VerifyTotalDiscountWithPriority'

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bytotal/I40460_VerifyTotalDiscountWithPriority.java
---
(0111223)
hgbot (developer)
2019-04-23 10:04

Repository: tools/automation/pi-mobile
Changeset: 9e92b0d0670a9890d96452b30644ef281ea88d08
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 23 13:34:09 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9e92b0d0670a9890d96452b30644ef281ea88d08 [^]

Verifies issue 40460 : Modified automated test 'SplitLineWithAutomaticPromoScaledPrice'

* Modified automated test 'SplitLineWithAutomaticPromoFreeProdScaledPriceAndManualPromo'

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/SplitLineWithAutomaticPromoFreeProdScaledPriceAndManualPromo.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/SplitLineWithAutomaticPromoScaledPrice.java
---
(0111263)
adrianromero (manager)
2019-04-24 12:01

Verified.

- Issue History
Date Modified Username Field Change
2019-03-26 15:47 guillermogil New Issue
2019-03-26 15:47 guillermogil Assigned To => Retail
2019-03-26 15:47 guillermogil File Added: Image1.png
2019-03-26 15:47 guillermogil Resolution time => 1555365600
2019-03-26 15:47 guillermogil Triggers an Emergency Pack => No
2019-03-26 15:47 guillermogil File Added: Image2.png
2019-03-26 15:48 guillermogil File Added: Image3.png
2019-03-26 15:48 guillermogil File Added: Image4.png
2019-03-26 15:48 guillermogil File Added: Image5.png
2019-03-26 15:49 guillermogil Description Updated View Revisions
2019-03-26 15:51 guillermogil Issue Monitored: umartirena
2019-03-26 17:19 jorge-garcia Status new => scheduled
2019-03-26 17:19 jorge-garcia Assigned To Retail => jorge-garcia
2019-03-27 12:22 jorge-garcia File Added: I40460_possibleFix.diff
2019-04-09 13:11 jorge-garcia Assigned To jorge-garcia => Retail
2019-04-10 14:12 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-04-11 09:23 hgbot Checkin
2019-04-11 09:23 hgbot Note Added: 0111076
2019-04-12 07:40 hgbot Checkin
2019-04-12 07:40 hgbot Note Added: 0111086
2019-04-12 07:40 ranjith_qualiantech_com Status scheduled => resolved
2019-04-12 07:40 ranjith_qualiantech_com Resolution open => fixed
2019-04-16 09:14 ranjith_qualiantech_com Relationship added related to 0040620
2019-04-23 10:04 hgbot Checkin
2019-04-23 10:04 hgbot Note Added: 0111223
2019-04-24 12:01 adrianromero Review Assigned To => adrianromero
2019-04-24 12:01 adrianromero Note Added: 0111263
2019-04-24 12:01 adrianromero Status resolved => closed
2019-04-24 12:01 adrianromero Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker