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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041396
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2019-07-18 12:512019-09-06 22:04
ReporterLeyreView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revision85ac47f10ec2
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041396: Manual promotion for only one of two products, not correctly applied.

DescriptionManual promotion for only one of two products
Steps To ReproduceWeb POS:
1. Add a product.
2. Increase the quantity of the product = 2
3. Select the product and 'Split'
Now, there are two lines in the POS of the same product.
4. Try to add a discount only for one of the lines.
*** The discount is applied for all the lines.
Proposed SolutionIt worked fine until 18Q4 (included) version.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0113937)
hgbot (developer)
2019-08-12 02:35

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 85ac47f10ec2380e87948453687ff3895837a7cf
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Jul 31 16:30:58 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85ac47f10ec2380e87948453687ff3895837a7cf [^]

Fixed issue 41396: Manual promotion for only one of two products, not correctly
applied.

- if manual promotion was applied we need not apply all promotions, to avoid
add the same promotions to the all lines of this product.

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0113944)
jorge-garcia (reporter)
2019-08-12 12:31

Code reviewed and tested
(0114444)
hgbot (developer)
2019-09-06 22:04

Repository: tools/automation/pi-mobile
Changeset: c142d0a423ab0372fb4ae963b838520a35f23583
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Sep 06 16:02:42 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c142d0a423ab0372fb4ae963b838520a35f23583 [^]

Related to issue 41396: Added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I41396_VerifyDiscountAppliedToOneLineAfterSplit.java
---

- Issue History
Date Modified Username Field Change
2019-07-18 12:51 Leyre New Issue
2019-07-18 12:51 Leyre Assigned To => Retail
2019-07-18 12:51 Leyre Resolution time => 1563832800
2019-07-18 12:51 Leyre Triggers an Emergency Pack => No
2019-07-29 16:55 rqueralta Assigned To Retail => rqueralta
2019-07-29 17:05 rqueralta Status new => scheduled
2019-08-12 02:35 hgbot Checkin
2019-08-12 02:35 hgbot Note Added: 0113937
2019-08-12 02:35 hgbot Status scheduled => resolved
2019-08-12 02:35 hgbot Resolution open => fixed
2019-08-12 02:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85ac47f10ec2380e87948453687ff3895837a7cf [^]
2019-08-12 12:31 jorge-garcia Review Assigned To => jorge-garcia
2019-08-12 12:31 jorge-garcia Note Added: 0113944
2019-08-12 12:31 jorge-garcia Status resolved => closed
2019-08-12 12:31 jorge-garcia Fixed in Version => RR19Q4
2019-09-06 22:04 hgbot Checkin
2019-09-06 22:04 hgbot Note Added: 0114444


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker