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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032601
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-04-05 13:172016-04-26 13:12
ReporterageteView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision2e734cd9ef63
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

0032601: [SERQA 870] Issue when adding a price adjustment discount to two lines with the same product

DescriptionIssue when adding a price adjustment discount to two lines with the same product the discount is just shown on one line but applied over the total of the lines.
Steps To ReproduceCreate a new receipt and select the product Minilintern solar dynamo (no discount is applied automatically in a returned line)
Click on the button return line
Search again for the product Minilintern solar dynamo and add it to the receipt (a discount of 5% has been applied)
Click again on the previous line, the negative one and click on the button Return line
Error--> Check the discount 5% is indicated just in the line where it was initially and the amount to discount has considered the total amount
of both lines.
For the user, it is extrange to see the discount just in one line when it is applied in both
The printing report shows the information as it is in the receipt, so it is also extrange how it is shown
Proposed SolutionShow the discount information on every line where it applies
TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0032638 feedbackRetail Overhaul how lines are reorganized when discounts are applied 
related to defect 0032585 closedjorge-garcia [SERQA 873] Discretionary discounts are not working with ungrouped lines 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0085828)
hgbot (developer)
2016-04-21 13:34

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2e734cd9ef63f7e33cae9b1ca9e77b4481385b9a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Apr 20 10:53:16 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2e734cd9ef63f7e33cae9b1ca9e77b4481385b9a [^]

Fixed issue 32601: [SERQA 870] Issue when adding a price adjustment discount
to two lines with the same product

This problem happens with both manual and automatic promotions and grouped
products.

The solution is to merge the lines when the returned line revert it's status to
a positive quantity.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0085832)
hgbot (developer)
2016-04-21 13:35

Repository: tools/automation/pi-mobile
Changeset: 80f337a862e9bcf02b429ef2fb672d4f734e4e86
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 21 13:31:40 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/80f337a862e9bcf02b429ef2fb672d4f734e4e86 [^]

Verifies issue 32601: [SERQA 870] Issue when adding a price adjustment discount
to two lines with the same product

Added test I32601_ReturnLineAndApplyPromotion.

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/discountsandpromotions/I32601_ReturnLineAndApplyPromotion.java
---
(0085983)
migueldejuana (developer)
2016-04-26 13:12

Tested and reviewed a003f89753a6

- Issue History
Date Modified Username Field Change
2016-04-05 13:17 agete New Issue
2016-04-05 13:17 agete Assigned To => Retail
2016-04-05 13:17 agete Resolution time => 1461103200
2016-04-05 13:17 agete Triggers an Emergency Pack => No
2016-04-06 18:22 Orekaria Status new => acknowledged
2016-04-11 10:03 Orekaria Status acknowledged => scheduled
2016-04-11 10:03 Orekaria Status scheduled => feedback
2016-04-11 10:17 Orekaria Relationship added depends on 0032638
2016-04-20 11:05 jorge-garcia Status feedback => scheduled
2016-04-20 11:05 jorge-garcia Assigned To Retail => jorge-garcia
2016-04-20 11:06 jorge-garcia Relationship added related to 0032585
2016-04-21 12:07 VictorVillar Tag Attached: SER-QA
2016-04-21 13:34 hgbot Checkin
2016-04-21 13:34 hgbot Note Added: 0085828
2016-04-21 13:34 hgbot Status scheduled => resolved
2016-04-21 13:34 hgbot Resolution open => fixed
2016-04-21 13:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2e734cd9ef63f7e33cae9b1ca9e77b4481385b9a [^]
2016-04-21 13:35 hgbot Checkin
2016-04-21 13:35 hgbot Note Added: 0085832
2016-04-26 13:12 migueldejuana Review Assigned To => migueldejuana
2016-04-26 13:12 migueldejuana Note Added: 0085983
2016-04-26 13:12 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker