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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036781
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2017-09-04 13:272017-09-19 15:55
ReporternataliagView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revision538778f16059
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036781: Combo Fix price discount is not working correctly when you add the same combo twice in the same ticket.

DescriptionCombo Fix price discount is not working correctly when you add same combo twice in the same ticket.
Steps To Reproduce1- Go to "Discount and promotions" window and create a new discount of type "Combo Fix price". Set a starting date, the rest of fields can be "All excluding defined" and the "Combo fix price" for example 20.
2- Define 3 families: A (quantity 2), B(quantity 2) and C(quantity 1):
Products in family A= Adhesive body Warmers,Alpine Poles,
Products in family B= Base camp duffel 70 L
Products in family C= Basecamp lantern,Basecamp lantern with legs.
3- Now, go to POS terminal, create a new ticket and add this products:
 1 Adhesive body warmer,
 1 Alpine poles
 2 Base camp duffel 70L
 1 Basecamp lantern.
The combo discount is applied and the price is 20. This is correct
4- In this same ticket we want to add another combo but using the other basecamp lantern so we continue adding to the ticket:
 1 Adhesive body warmer,
 1 Alpine poles
 2 Base camp duffel 70L
 1 Basecamp lantern with legs. Now again the combo should be applied and the price should be 40 but instead that, the total is 207.36. The price of the combo is not applied although the discount appears in the lantern with legs. If we select the base camp duffel product and we split lines as 2 and 2 instead 4, the discount is applied and the total price change to 40. Both combos are then detected correctly. This also happens if the product is marked as non grouped.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0098993)
hgbot (developer)
2017-09-12 16:47

Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: aab2d0053ae992f690bf9cd5dd60f86ae4345993
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Sep 11 19:50:41 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/aab2d0053ae992f690bf9cd5dd60f86ae4345993 [^]

Fixed issue 36781: Combo Fix price discount is not working correctly when you
add the same combo twice in the same ticket

---
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
(0099015)
hgbot (developer)
2017-09-13 20:07

Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: 85db74bf8d8bcc124583eef465bd5ccde083f7b9
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Wed Sep 13 14:02:52 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/85db74bf8d8bcc124583eef465bd5ccde083f7b9 [^]

Related to issue 36781: Combo Fix price discount is not working correctly when
you add the same combo twice in the same ticket

- Backed out changeset: aab2d0053ae9

---
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
(0099088)
hgbot (developer)
2017-09-15 15:45

Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: 88773a9a0d79d5d2f9c47264aa60bcacc0fa844b
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Sep 11 19:50:41 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/88773a9a0d79d5d2f9c47264aa60bcacc0fa844b [^]

Fixed issue 36781: Combo Fix price discount is not working correctly when you
add the same combo twice in the same ticket

---
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
(0099118)
hgbot (developer)
2017-09-18 14:42

Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: 3bdc761a27bc2b829f42eadc23a8d55f61fe914f
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Sep 18 08:40:07 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/3bdc761a27bc2b829f42eadc23a8d55f61fe914f [^]

Fixed issue 36781: Combo Fix price discount is not working correctly when you
add the same combo twice in the same ticket

- Backed out changeset: 88773a9a0d79

---
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
(0099133)
hgbot (developer)
2017-09-18 23:34

Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: 538778f1605937f6b531b71a4fd4971c18c0ac15
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Sep 18 16:33:30 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/538778f1605937f6b531b71a4fd4971c18c0ac15 [^]

Fixed issue 36781: Combo Fix price discount is not working correctly when you
add the same combo twice in the same ticket

---
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
(0099148)
hgbot (developer)
2017-09-19 15:55

Repository: tools/automation/pi-mobile
Changeset: 1bd921a18fd9db3878601eab2fa76fe4434d51c4
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Sep 18 16:38:34 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1bd921a18fd9db3878601eab2fa76fe4434d51c4 [^]

Verifies issue 36781: Combo Fix price discount is not working correctly when you
add the same combo twice in the same ticket.

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_combo/I36781_VerifyComboFixPriceTwiceInTheSameTicket.java
---

- Issue History
Date Modified Username Field Change
2017-09-04 13:27 nataliag New Issue
2017-09-04 13:27 nataliag Assigned To => Retail
2017-09-04 13:27 nataliag Triggers an Emergency Pack => No
2017-09-07 15:39 rqueralta Assigned To Retail => rqueralta
2017-09-12 16:47 hgbot Checkin
2017-09-12 16:47 hgbot Note Added: 0098993
2017-09-12 16:47 hgbot Status new => resolved
2017-09-12 16:47 hgbot Resolution open => fixed
2017-09-12 16:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/aab2d0053ae992f690bf9cd5dd60f86ae4345993 [^]
2017-09-13 20:07 hgbot Checkin
2017-09-13 20:07 hgbot Note Added: 0099015
2017-09-15 15:45 hgbot Checkin
2017-09-15 15:45 hgbot Note Added: 0099088
2017-09-15 15:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/aab2d0053ae992f690bf9cd5dd60f86ae4345993 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/88773a9a0d79d5d2f9c47264aa60bcacc0fa844b [^]
2017-09-18 14:42 hgbot Checkin
2017-09-18 14:42 hgbot Note Added: 0099118
2017-09-18 14:43 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/88773a9a0d79d5d2f9c47264aa60bcacc0fa844b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/3bdc761a27bc2b829f42eadc23a8d55f61fe914f [^]
2017-09-18 23:34 hgbot Checkin
2017-09-18 23:34 hgbot Note Added: 0099133
2017-09-18 23:34 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/3bdc761a27bc2b829f42eadc23a8d55f61fe914f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/538778f1605937f6b531b71a4fd4971c18c0ac15 [^]
2017-09-19 15:55 hgbot Checkin
2017-09-19 15:55 hgbot Note Added: 0099148


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker