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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034547
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Discounts and Promotionsmajorhave not tried2016-11-03 11:032016-12-12 10:22
ReporterplujanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR16Q3.4
StatusclosedFix in branchFixed in SCM revisiond9e7a41160f7
ProjectionnoneETAnoneTarget VersionRR16Q3.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - QA Approved
Regression date2016-09-27
Regression introduced in releaseRR16Q3
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/97c95e2c63c9 [^]
Triggers an Emergency PackNo
Summary

0034547: [RR16Q4] Persistent deleted tickets do not keep manual discounts

DescriptionWhen persistent deletion of tickets preference is activated, tickets deleted at draft are kept in the backend. If a line has a discount applied, this discount is not persisted.
Steps To ReproduceSteps are the same of this test case: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9692 [^]

1. Set the "Web POS Save Removed Tickets" preference to Y
2. create a draft ticket for two different items.
3. Edit one line and add a manual discount of 5%
4. Click the delete button
5. Repeat steps 2 and 3 to get the same lines again.
6. This time, complete the ticket
7. Go to the backend and check the two records created. Note the line with the discount is different in both tickets. The completed ticket has the "Net Unit Price" with the discount and there is a line in "Discounts and Promotions", while the deleted ticket has the standard Net Unit Price and no discounts and promotions.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034372 closedranjith_qualiantech_com [RR16Q4] Persistent deleted tickets do not keep manual discounts 

-  Notes
(0092191)
hgbot (developer)
2016-12-07 14:01

Repository: retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal
Changeset: d9e7a41160f71f6573af60acfa00bf6685830d00
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Dec 07 18:29:42 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal/rev/d9e7a41160f71f6573af60acfa00bf6685830d00 [^]

Fixes issue 34547 : Save Promotions if the Save Remove ticket preference is enabled

* Calculate price before calculate receipt inorder to set promotional amounts
* Reset lineGrossAmount, grossUnitPrice, standardPrice, listPrice to 0, if ticket is deleted

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092192)
hgbot (developer)
2016-12-07 14:03

Repository: retail/backports/3.0RR16Q3.4/pi-mobile
Changeset: 0b97bdaff57270ff0166d453e508983b73e42761
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Dec 07 18:32:38 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.4/pi-mobile/rev/0b97bdaff57270ff0166d453e508983b73e42761 [^]

Verifies issue 34547 : Added automated test 'I34547_VerifyDiscountInDeletedReceipt'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I34547_VerifyDiscountInDeletedReceipt.java
---
(0092274)
hgbot (developer)
2016-12-12 10:22

Repository: tools/automation/pi-mobile
Changeset: 0b97bdaff57270ff0166d453e508983b73e42761
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Dec 07 18:32:38 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0b97bdaff57270ff0166d453e508983b73e42761 [^]

Verifies issue 34547 : Added automated test 'I34547_VerifyDiscountInDeletedReceipt'

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

- Issue History
Date Modified Username Field Change
2016-11-16 17:24 guilleaer Type defect => backport
2016-11-16 17:24 guilleaer Target Version => RR16Q3.4
2016-12-07 14:01 hgbot Checkin
2016-12-07 14:01 hgbot Note Added: 0092191
2016-12-07 14:01 hgbot Status scheduled => resolved
2016-12-07 14:01 hgbot Resolution open => fixed
2016-12-07 14:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5afe501174bf71d5f23fea137862dde3d03c485b [^] => http://code.openbravo.com/retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal/rev/d9e7a41160f71f6573af60acfa00bf6685830d00 [^]
2016-12-07 14:03 hgbot Checkin
2016-12-07 14:03 hgbot Note Added: 0092192
2016-12-08 18:21 marvintm Review Assigned To => marvintm
2016-12-08 18:21 marvintm Status resolved => closed
2016-12-08 18:21 marvintm Fixed in Version => RR16Q3.4
2016-12-12 10:22 hgbot Checkin
2016-12-12 10:22 hgbot Note Added: 0092274


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker