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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040478
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2019-03-28 13:532019-04-24 12:38
ReporterxabiermerinoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed 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

0040478: Scaled price for Product Category does not work

DescriptionScaled price for Product Category does not work. Openbravo should apply the discount for product with less price
Steps To ReproduceConfigure a scaled price promotion:
* For Mountaneering
* Item 1 --> 0% discount
*Item 2 --> 10% discount

Steps:
Introduce Crampons 10p (39.90)
Introduce Avalanche (150.50) --> promotion is applied to Crampons --> OK
Introduce Crampons 12p (49,90) --> promotion is applied to Crampons 12 instead -> WRONG, because Crampons 10 has lower price and should be applied to that one instead
Introduce Descender 8 (12.50) --> promotion is applied to Descender 8 also, this is OK because it has the lowest price, but second promotion is still applied to Crampons 12, and this is wrong.
Proposed SolutionScaled price promotion should always be applied first to the products which have lower price.
TagsNo tags attached.
Attached Filespatch file icon issue 40478 source scaledprice v1.patch [^] (5,074 bytes) 2019-03-29 10:08 [Show Content]
patch file icon issue 40478 source pimobile.patch [^] (9,756 bytes) 2019-04-02 09:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0111019)
hgbot (developer)
2019-04-08 12:47

Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: ea933817d727ce400a447daf389799ed28f1e489
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Apr 08 16:16:14 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/ea933817d727ce400a447daf389799ed28f1e489 [^]

Related to issue 40478 : Refactored Scaled price discount calculation

* Discounts should be applied for products from lower price to higher price

---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---
(0111025)
hgbot (developer)
2019-04-08 15:22

Repository: tools/automation/pi-mobile
Changeset: ecb803ad1db182cf4b3ec18b55d2d2db5837ed91
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Apr 08 18:52:44 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ecb803ad1db182cf4b3ec18b55d2d2db5837ed91 [^]

Verifies issue 40478 : Added automated test 'I40478_VerifyScaledDiscountWithLowerPrice'

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_scaledprice/I38736_VerifyScalePriceDiscountInOfflineMode.java
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/I40478_VerifyScaledDiscountWithLowerPrice.java
---
(0111119)
ranjith_qualiantech_com (developer)
2019-04-15 08:46

Chunks should be updated for scaled discounts
(0111214)
hgbot (developer)
2019-04-19 08:38

Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: e73c988e82add780e15b39f2d6102c1b808130f9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Apr 19 12:07:48 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/e73c988e82add780e15b39f2d6102c1b808130f9 [^]

Related to issue 40478 : Refactored Scaled price discount calculation

* Scaled Discounts should be applied for products from lower price to higher price
* Chunks should not be used for Scaled discounts

---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---
(0111266)
adrianromero (manager)
2019-04-24 12:38

Verified.

- Issue History
Date Modified Username Field Change
2019-03-28 13:53 xabiermerino New Issue
2019-03-28 13:53 xabiermerino Assigned To => Retail
2019-03-28 13:53 xabiermerino Resolution time => 1553900400
2019-03-28 13:53 xabiermerino Triggers an Emergency Pack => No
2019-03-28 15:27 umartirena Priority high => urgent
2019-03-28 15:27 umartirena Issue Monitored: umartirena
2019-03-28 16:08 marvintm Steps to Reproduce Updated View Revisions
2019-03-28 16:08 marvintm Proposed Solution updated
2019-03-29 06:09 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-03-29 06:09 ranjith_qualiantech_com Status new => scheduled
2019-03-29 10:08 ranjith_qualiantech_com File Added: issue 40478 source scaledprice v1.patch
2019-04-02 09:16 ranjith_qualiantech_com File Added: issue 40478 source pimobile.patch
2019-04-08 12:47 hgbot Checkin
2019-04-08 12:47 hgbot Note Added: 0111019
2019-04-08 15:22 hgbot Checkin
2019-04-08 15:22 hgbot Note Added: 0111025
2019-04-09 07:29 ranjith_qualiantech_com Status scheduled => resolved
2019-04-09 07:29 ranjith_qualiantech_com Resolution open => fixed
2019-04-15 08:46 ranjith_qualiantech_com Note Added: 0111119
2019-04-15 08:46 ranjith_qualiantech_com Status resolved => new
2019-04-15 08:46 ranjith_qualiantech_com Resolution fixed => open
2019-04-16 08:52 ranjith_qualiantech_com Status new => scheduled
2019-04-19 08:38 hgbot Checkin
2019-04-19 08:38 hgbot Note Added: 0111214
2019-04-23 08:28 ranjith_qualiantech_com Status scheduled => resolved
2019-04-23 08:28 ranjith_qualiantech_com Resolution open => fixed
2019-04-24 12:38 adrianromero Review Assigned To => adrianromero
2019-04-24 12:38 adrianromero Note Added: 0111266
2019-04-24 12:38 adrianromero Status resolved => closed
2019-04-24 12:38 adrianromero Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker