Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033308 | Retail Modules | Discounts and Promotions | public | 2016-06-20 10:09 | 2016-06-30 13:12 |
|
Reporter | ebecerra | |
Assigned To | jorge-garcia | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033308: Promotion: Incorrect configuration for: Buy X pay Y of same product |
Description | The information of the promotion applied is not correct. |
Steps To Reproduce | Go 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 Solution | Change the BuyXPayY of same products rule to have the correct information. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | OBNetwork customer | => No |
2016-06-20 10:09 | ebecerra | Triggers an Emergency Pack | => No |
2016-06-20 10:24 | jorge-garcia | Description Updated | bug_revision_view_page.php?rev_id=12425#r12425 |
2016-06-20 10:24 | jorge-garcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12427#r12427 |
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 |
Notes |
|
(0087843)
|
hgbot
|
2016-06-23 10:44
|
|
|
|
|
There is an issue with the current implementation, when more than one instance of the discount can be applied. |
|
|
(0088095)
|
hgbot
|
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
|
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
---
|
|