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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032997
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-05-19 11:322016-06-13 11:23
ReporterebecerraView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondc5a55b15d77
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

0032997: [SERQA 1116] Manual promotions and quantities

DescriptionWhen a manual promotion is applied the rule set 'qtyOffer' to line quantity. If the quantity is changed later the 'qtyOffer' not change according the new quantity.
Steps To ReproduceCase 1:

1. Add a product to receipt
2. Change line quantity to 6
3. Apply a manual promotion

  - In Developer Console:
     OB.MobileApp.model.receipt.get('lines').at(0).get('promotions')
        * obdiscQtyoffer: 6
        * pendingQtyOffer: 6
        * qtyOffer: 6

Case 2:

1. Add a product to receipt
2. Apply a manual promotion

  - In Developer Console:
     OB.MobileApp.model.receipt.get('lines').at(0).get('promotions')
        * obdiscQtyoffer: 1
        * pendingQtyOffer: 1
        * qtyOffer: 1

3. Change line quantity to 6

  - In Developer Console:
     OB.MobileApp.model.receipt.get('lines').at(0).get('promotions')
        * obdiscQtyoffer: 1
        * pendingQtyOffer: 1
        * qtyOffer: 1

TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0086735)
hgbot (developer)
2016-05-25 11:39

Repository: tools/automation/pi-mobile
Changeset: 5dbc85cc121e4d809c7d7c2673c9644b10bcedd2
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 23 13:10:02 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5dbc85cc121e4d809c7d7c2673c9644b10bcedd2 [^]

Verifies issue 32997: [SERQA 1116] Manual promotions and quantities

Added test I32997_ManualPromotionInformation.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I32997_ManualPromotionInformation.java
---
(0086737)
hgbot (developer)
2016-05-25 11:40

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dc5a55b15d77527bbae7b48e65c5f63622e5f504
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 23 13:11:55 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc5a55b15d77527bbae7b48e65c5f63622e5f504 [^]

Fixed issue 32997: [SERQA 1116] Manual promotions and quantities

The solution is to reset the qtyOffer from the promotion.

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
---

- Issue History
Date Modified Username Field Change
2016-05-19 11:32 ebecerra New Issue
2016-05-19 11:32 ebecerra Assigned To => Retail
2016-05-19 11:32 ebecerra Triggers an Emergency Pack => No
2016-05-19 11:40 ebecerra Summary Promotions and split lines => Manual promotions and quantities
2016-05-19 11:40 ebecerra Description Updated View Revisions
2016-05-19 11:40 ebecerra Steps to Reproduce Updated View Revisions
2016-05-19 11:51 ebecerra Steps to Reproduce Updated View Revisions
2016-05-19 12:51 amayavicente Summary Manual promotions and quantities => [SERQA 1116] Manual promotions and quantities
2016-05-19 12:52 amayavicente Tag Attached: SER-QA
2016-05-20 11:48 Orekaria Status new => acknowledged
2016-05-23 12:39 jorge-garcia Status acknowledged => scheduled
2016-05-23 12:39 jorge-garcia Assigned To Retail => jorge-garcia
2016-05-25 11:39 hgbot Checkin
2016-05-25 11:39 hgbot Note Added: 0086735
2016-05-25 11:40 hgbot Checkin
2016-05-25 11:40 hgbot Note Added: 0086737
2016-05-25 11:40 hgbot Status scheduled => resolved
2016-05-25 11:40 hgbot Resolution open => fixed
2016-05-25 11:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc5a55b15d77527bbae7b48e65c5f63622e5f504 [^]
2016-06-13 11:23 marvintm Review Assigned To => marvintm
2016-06-13 11:23 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker