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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040678
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-04-25 09:462019-05-06 18:19
ReporterxabiermerinoView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona984a7d99b4c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040678: Discount per total amount are not applied properly

DescriptionConfiguration:
Promo 1:
Discount per total amount
Use coupon
Total receipt: 0
Amount: 3
Proority: 400
Appliy next discount: Y

Promo 1:
Discount per total amount
Use coupon
Total receipt: 10
Amount: 5
Proority: 5000
Appliy next discount: N
Steps To ReproduceCreate a ticket of > 50€
Introduce the coupon of the promo 1
relize that the promo is applied
Introduce coupon of the promo 2
Realize that the promo is not applied
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0040697 closedrqueralta Only applying one “Discount per Total Amount” coupon even when there are more 

-  Notes
(0111377)
hgbot (developer)
2019-04-30 01:16

Repository: erp/pmods/org.openbravo.retail.discounts.bytotal
Changeset: a984a7d99b4c17a64fc849afba6fc208a711f0f1
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Apr 29 19:14:37 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/a984a7d99b4c17a64fc849afba6fc208a711f0f1 [^]

Fixed issue 40678: Discount per total amount are not applied properly

- If the discount rule has obdiscpIscoupon on true, was avoided to set
applyNext on false

---
M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js
---
(0111502)
migueldejuana (developer)
2019-05-06 15:37

Tested and reviewed
(0111514)
hgbot (developer)
2019-05-06 18:19

Repository: tools/automation/pi-mobile
Changeset: 85dc5a9654e6323e24715695beae86a607b59565
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Thu May 02 15:54:18 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/85dc5a9654e6323e24715695beae86a607b59565 [^]

Related to issue 40678: added automated test

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bytotal/I40678_VerifyDiscountPerTotalAmntIsCorrectlyApplied.java
---

- Issue History
Date Modified Username Field Change
2019-04-25 09:46 xabiermerino New Issue
2019-04-25 09:46 xabiermerino Assigned To => Retail
2019-04-25 09:46 xabiermerino Resolution time => 1556402400
2019-04-25 09:46 xabiermerino Triggers an Emergency Pack => No
2019-04-25 14:59 rqueralta Assigned To Retail => rqueralta
2019-04-25 14:59 rqueralta Status new => scheduled
2019-04-30 01:16 hgbot Checkin
2019-04-30 01:16 hgbot Note Added: 0111377
2019-04-30 01:16 hgbot Status scheduled => resolved
2019-04-30 01:16 hgbot Resolution open => fixed
2019-04-30 01:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/a984a7d99b4c17a64fc849afba6fc208a711f0f1 [^]
2019-05-06 15:37 migueldejuana Review Assigned To => migueldejuana
2019-05-06 15:37 migueldejuana Note Added: 0111502
2019-05-06 15:37 migueldejuana Status resolved => closed
2019-05-06 18:19 hgbot Checkin
2019-05-06 18:19 hgbot Note Added: 0111514
2019-05-06 19:24 marvintm Relationship added has duplicate 0040697


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker