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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032585
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2016-04-04 16:472016-04-28 10:09
ReporteraaroncaleroView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR16Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032585: [SERQA 873] Discretionary discounts are not working with ungrouped lines

DescriptionWhen we have on the same ticket two lines of the same product, and these lines have a different qty, if we apply a discretionary discount to one of these lines, the discount is wrongly applied.
Steps To ReproduceLogin in web pos and create an empty ticket
Add an avalanche transceiver, go to the edit tab, and click on return line.
Add another avalanche transceiver (a new line will be created).
Select the first line, go to the edit tab and click on return line again.
>Now the ticket will have two lines with one unit of avalanche transceiver.
Select the first line and increase its qty to 2.
Go to Menu > Receipt Discounts.
Add a variable % discount (e.g. 10%) to the first line.
> Verify that the discount is applied to the second line, and that the amount it discounts is calculated from the first line.
Increase the qty of the first line to 3 and the qty of the second line to 2.
> Verify that the discount applied to the first line is related to the second line, and the amount of the discount of the second line is related to the first line.
TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0032601 closedjorge-garcia [SERQA 870] Issue when adding a price adjustment discount to two lines with the same product 
depends on defect 0032618 closedmario_castello Lines are not grouped when 'return line' is involved 
depends on feature request 0032638 feedbackRetail Overhaul how lines are reorganized when discounts are applied 
depends on defect 0032639 closedmario_castello Lines are not grouped 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0085549)
Orekaria (administrator)
2016-04-11 10:21

This issues is waiting the related feature request
(0085831)
hgbot (developer)
2016-04-21 13:35

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

Verifies issue 32585: [SERQA 873] Discretionary discounts are not working with
ungrouped lines

Added test I32585_ReturnLineAndApplyDiscretionaryPromo.

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/discountsandpromotions/I32585_ReturnLineAndApplyDiscretionaryPromo.java
---
(0085834)
jorge-garcia (reporter)
2016-04-21 13:37

This issue is also fixed by this changeset[1].

[1]http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2e734cd9ef63f7e33cae9b1ca9e77b4481385b9a [^]

- Issue History
Date Modified Username Field Change
2016-04-04 16:47 aaroncalero New Issue
2016-04-04 16:47 aaroncalero Assigned To => Retail
2016-04-04 16:47 aaroncalero Resolution time => 1460930400
2016-04-04 16:47 aaroncalero Triggers an Emergency Pack => No
2016-04-05 13:13 agete Tag Attached: SER-QA
2016-04-05 13:14 agete Summary Discretionary discounts are not working with ungrouped lines => [SERQA 872] Discretionary discounts are not working with ungrouped lines
2016-04-06 18:22 Orekaria Status new => acknowledged
2016-04-07 13:05 Orekaria Status acknowledged => scheduled
2016-04-07 17:49 agete Summary [SERQA 872] Discretionary discounts are not working with ungrouped lines => [SERQA 873] Discretionary discounts are not working with ungrouped lines
2016-04-11 10:02 Orekaria Status scheduled => feedback
2016-04-11 10:17 Orekaria Relationship added depends on 0032638
2016-04-11 10:21 Orekaria Note Added: 0085549
2016-04-11 10:59 Orekaria Relationship added depends on 0032639
2016-04-20 11:04 jorge-garcia Status feedback => scheduled
2016-04-20 11:04 jorge-garcia Assigned To Retail => jorge-garcia
2016-04-20 11:06 jorge-garcia Relationship added related to 0032601
2016-04-21 13:35 hgbot Checkin
2016-04-21 13:35 hgbot Note Added: 0085831
2016-04-21 13:37 jorge-garcia Note Added: 0085834
2016-04-21 13:38 jorge-garcia Status scheduled => resolved
2016-04-21 13:38 jorge-garcia Resolution open => fixed
2016-04-28 10:09 marvintm Review Assigned To => marvintm
2016-04-28 10:09 marvintm Status resolved => closed
2016-04-28 10:09 marvintm Fixed in Version => RR16Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker