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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034372
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajorhave not tried2016-11-03 11:032016-12-16 08:40
ReporterplujanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision5afe501174bf
ProjectionnoneETAnoneTarget Version
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

0034372: [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 ]
related to defect 0034299 closedmario_castello [SER-QA 1942] Error while deleting a receipt that has line with discounts applied. 
depends on backport 0034459RR16Q4 closedranjith_qualiantech_com [RR16Q4] Persistent deleted tickets do not keep manual discounts 
depends on backport 0034547RR16Q3.4 closedranjith_qualiantech_com [RR16Q4] Persistent deleted tickets do not keep manual discounts 

-  Notes
(0091307)
hgbot (developer)
2016-11-10 08:09

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5afe501174bf71d5f23fea137862dde3d03c485b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 10 12:38:51 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5afe501174bf71d5f23fea137862dde3d03c485b [^]

Fixes issue 34372 : 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 web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0091309)
hgbot (developer)
2016-11-10 08:13

Repository: tools/automation/pi-mobile
Changeset: ba21f9ad87870d1884b423b73d07b023c73e42d0
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Nov 09 15:05:25 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ba21f9ad87870d1884b423b73d07b023c73e42d0 [^]

Verifies issue 34372 : Added automated test 'I34372_VerifyDiscountInDeletedReceipt'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I34372_VerifyDiscountInDeletedReceipt.java
---
(0092125)
hgbot (developer)
2016-12-06 10:54

Repository: retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal
Changeset: e2f7541ea9843a82470d6d161f69978cd452135c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 10 12:38:51 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/e2f7541ea9843a82470d6d161f69978cd452135c [^]

Related to issue 34459, backport of issue 34372: 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 web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092255)
hgbot (developer)
2016-12-09 15:20

Repository: retail/backports/3.0RR16Q4/pi-mobile
Changeset: 8029de09561ef045c50ddbc88e740824b6c4030a
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 07 10:45:01 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/8029de09561ef045c50ddbc88e740824b6c4030a [^]

Fixes issue 34459, backport of issue 34372: Added test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I34372_VerifyDiscountInDeletedReceipt.java
---
(0092447)
hgbot (developer)
2016-12-16 08:40

Repository: tools/automation/pi-mobile
Changeset: 8029de09561ef045c50ddbc88e740824b6c4030a
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 07 10:45:01 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8029de09561ef045c50ddbc88e740824b6c4030a [^]

Fixes issue 34459, backport of issue 34372: Added test

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

- Issue History
Date Modified Username Field Change
2016-11-03 11:03 plujan New Issue
2016-11-03 11:03 plujan Assigned To => Retail
2016-11-03 11:03 plujan Regression level => Production - QA Approved
2016-11-03 11:03 plujan Regression introduced in release => RR16Q3
2016-11-03 11:03 plujan Triggers an Emergency Pack => No
2016-11-03 14:06 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-11-03 14:06 ranjith_qualiantech_com Status new => scheduled
2016-11-09 11:25 ranjith_qualiantech_com Regression date => 2016-09-27
2016-11-09 11:25 ranjith_qualiantech_com Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/97c95e2c63c9 [^]
2016-11-09 11:47 ranjith_qualiantech_com Relationship added related to 0034299
2016-11-10 08:09 hgbot Checkin
2016-11-10 08:09 hgbot Note Added: 0091307
2016-11-10 08:09 hgbot Status scheduled => resolved
2016-11-10 08:09 hgbot Resolution open => fixed
2016-11-10 08:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5afe501174bf71d5f23fea137862dde3d03c485b [^]
2016-11-10 08:13 hgbot Checkin
2016-11-10 08:13 hgbot Note Added: 0091309
2016-11-10 09:54 ranjith_qualiantech_com Status resolved => new
2016-11-10 09:54 ranjith_qualiantech_com Resolution fixed => open
2016-11-10 09:54 ranjith_qualiantech_com Status new => scheduled
2016-11-10 09:54 ranjith_qualiantech_com Status scheduled => resolved
2016-11-10 09:54 ranjith_qualiantech_com Resolution open => fixed
2016-11-16 17:24 guilleaer Status resolved => new
2016-11-16 17:24 guilleaer Resolution fixed => open
2016-11-16 17:24 guilleaer Status new => scheduled
2016-11-16 17:25 guilleaer Status scheduled => resolved
2016-11-16 17:25 guilleaer Fixed in Version => RR17Q1
2016-11-16 17:25 guilleaer Resolution open => fixed
2016-12-06 10:54 hgbot Checkin
2016-12-06 10:54 hgbot Note Added: 0092125
2016-12-08 18:21 marvintm Review Assigned To => marvintm
2016-12-08 18:21 marvintm Status resolved => closed
2016-12-09 15:20 hgbot Checkin
2016-12-09 15:20 hgbot Note Added: 0092255
2016-12-16 08:40 hgbot Checkin
2016-12-16 08:40 hgbot Note Added: 0092447


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker