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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033308
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajorhave not tried2016-06-20 10:092016-06-30 13:12
ReporterebecerraView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione77eb89d39b3
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

0033308: Promotion: Incorrect configuration for: Buy X pay Y of same product

DescriptionThe information of the promotion applied is not correct.
Steps To ReproduceGo to WebPOS
 1) Add 6 units of Harness four-season.
 2) Check a promotion of 6 x 5 Harness has been applied
 3) Open Chrome Developers Tools
 4) In the console, write this sentence: OB.MobileApp.model.receipt.get('lines').models[0].get('promotions')
 5) At least the field obdiscQtyoffer is wrong (it's 6 ans it should be 1).
Proposed SolutionChange the BuyXPayY of same products rule to have the correct information.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087843)
hgbot (developer)
2016-06-23 10:44

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 9e734195a7dabab94765731c657487a72e305643
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jun 22 17:06:58 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/9e734195a7dabab94765731c657487a72e305643 [^]

Fixed issue 33308: Promotion: Incorrect configuration for:
Buy X pay Y of same product

Added the right promotion values.

---
M web/org.openbravo.retail.discounts/js/promotion-XYsameProduct.js
---
(0088021)
marvintm (manager)
2016-06-28 11:39

There is an issue with the current implementation, when more than one instance of the discount can be applied.
(0088095)
hgbot (developer)
2016-06-30 12:47

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: e77eb89d39b334140dc265cfe580903e9efa1dfc
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jun 29 09:25:07 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/e77eb89d39b334140dc265cfe580903e9efa1dfc [^]

Fixed issue 33308: Promotion: Incorrect configuration for:
Buy X pay Y of same product

Adapted promotion-XYsameProduct rule to work the same way
promotion-XYdiffrenetProduct rule works.

---
M web/org.openbravo.retail.discounts/js/promotion-XYsameProduct.js
---
(0088096)
hgbot (developer)
2016-06-30 12:47

Repository: tools/automation/pi-mobile
Changeset: 1ac2fe5e0e0accb4b94a804c3a55714179ce4113
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 30 09:28:12 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1ac2fe5e0e0accb4b94a804c3a55714179ce4113 [^]

Related to issue 33308: Promotion: Incorrect configuration for:
Buy X pay Y of same product

Change test line verification due to the new behaviour of the
promotion-XYsampeproduct rule

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/Communit6781_BuyXPayYSameProduct.java
---

- Issue History
Date Modified Username Field Change
2016-06-20 10:09 ebecerra New Issue
2016-06-20 10:09 ebecerra Assigned To => Retail
2016-06-20 10:09 ebecerra Triggers an Emergency Pack => No
2016-06-20 10:24 jorge-garcia Description Updated View Revisions
2016-06-20 10:24 jorge-garcia Steps to Reproduce Updated View Revisions
2016-06-20 10:24 jorge-garcia Proposed Solution updated
2016-06-21 08:44 jorge-garcia Status new => acknowledged
2016-06-21 08:44 jorge-garcia Status acknowledged => scheduled
2016-06-21 08:44 jorge-garcia Assigned To Retail => jorge-garcia
2016-06-23 10:44 hgbot Checkin
2016-06-23 10:44 hgbot Note Added: 0087843
2016-06-23 10:44 hgbot Status scheduled => resolved
2016-06-23 10:44 hgbot Resolution open => fixed
2016-06-23 10:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/9e734195a7dabab94765731c657487a72e305643 [^]
2016-06-28 11:39 marvintm Note Added: 0088021
2016-06-28 11:39 marvintm Status resolved => new
2016-06-28 11:39 marvintm Resolution fixed => open
2016-06-28 11:39 marvintm Status new => scheduled
2016-06-30 12:47 hgbot Checkin
2016-06-30 12:47 hgbot Note Added: 0088095
2016-06-30 12:47 hgbot Status scheduled => resolved
2016-06-30 12:47 hgbot Resolution open => fixed
2016-06-30 12:47 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/9e734195a7dabab94765731c657487a72e305643 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/e77eb89d39b334140dc265cfe580903e9efa1dfc [^]
2016-06-30 12:47 hgbot Checkin
2016-06-30 12:47 hgbot Note Added: 0088096
2016-06-30 13:12 marvintm Review Assigned To => marvintm
2016-06-30 13:12 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker