Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037332 | Retail Modules | Discounts Combo | public | 2017-11-20 17:39 | 2018-06-26 11:43 |
|
Reporter | malsasua | |
Assigned To | rqueralta | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR18Q1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | 49156 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037332: combo discount is not applied but it is displayed in some lines |
Description | when a combo discount is not applied because the amount of combo is higher than the lines without combo discount, the discount is displayed in the lines of ticket except in the last line |
Steps To Reproduce | backoffice:
. configure one combo discount:
. total combo 10
. three families:
. F1 -> type: fixed price- price 4
. prod tab: prod1 (price 4)
. F2 -> type: fixed price- price 4
. prod tab: prod2 (price 4)
. F3 -> type: fixed price- price 2
. prod tab: prod3 (price 1)
POS Terminal
apply the combo discount |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0037178 | | closed | malsasua | When combo is added and total button is clicked, the lines of ticket are removed and total amount is set to 0 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-11-20 17:39 | malsasua | New Issue | |
2017-11-20 17:39 | malsasua | Assigned To | => Retail |
2017-11-20 17:39 | malsasua | OBNetwork customer | => Yes |
2017-11-20 17:39 | malsasua | Support ticket | => 49156 |
2017-11-20 17:39 | malsasua | Resolution time | => 1512860400 |
2017-11-20 17:39 | malsasua | Triggers an Emergency Pack | => No |
2017-11-20 17:48 | malsasua | Relationship added | related to 0037178 |
2017-11-22 21:57 | rqueralta | Assigned To | Retail => rqueralta |
2017-11-22 21:57 | rqueralta | Status | new => scheduled |
2017-11-27 17:27 | hgbot | Checkin | |
2017-11-27 17:27 | hgbot | Note Added: 0100743 | |
2017-11-27 17:27 | hgbot | Status | scheduled => resolved |
2017-11-27 17:27 | hgbot | Resolution | open => fixed |
2017-11-27 17:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/45cacd2fa5894fb1b37f3616274422f28ffd963a [^] |
2017-11-28 20:23 | hgbot | Checkin | |
2017-11-28 20:23 | hgbot | Note Added: 0100801 | |
2017-11-28 20:31 | hgbot | Checkin | |
2017-11-28 20:31 | hgbot | Note Added: 0100802 | |
2017-12-07 13:21 | marvintm | Note Added: 0100937 | |
2017-12-07 13:21 | marvintm | Status | resolved => new |
2017-12-07 13:21 | marvintm | Resolution | fixed => open |
2017-12-08 18:55 | hgbot | Checkin | |
2017-12-08 18:55 | hgbot | Note Added: 0100948 | |
2017-12-08 21:26 | hgbot | Checkin | |
2017-12-08 21:26 | hgbot | Note Added: 0100950 | |
2017-12-11 11:28 | marvintm | Status | new => scheduled |
2017-12-11 11:28 | marvintm | Status | scheduled => resolved |
2017-12-11 11:28 | marvintm | Fixed in Version | => RR18Q1 |
2017-12-11 11:28 | marvintm | Resolution | open => fixed |
2017-12-11 12:42 | marvintm | Status | resolved => new |
2017-12-11 12:42 | marvintm | Resolution | fixed => open |
2017-12-11 12:42 | marvintm | Fixed in Version | RR18Q1 => |
2017-12-12 21:39 | hgbot | Checkin | |
2017-12-12 21:39 | hgbot | Note Added: 0101008 | |
2017-12-13 14:56 | hgbot | Checkin | |
2017-12-13 14:56 | hgbot | Note Added: 0101013 | |
2017-12-14 18:22 | hgbot | Checkin | |
2017-12-14 18:22 | hgbot | Note Added: 0101046 | |
2017-12-15 16:21 | hgbot | Checkin | |
2017-12-15 16:21 | hgbot | Note Added: 0101066 | |
2017-12-17 18:33 | marvintm | Status | new => scheduled |
2017-12-17 18:33 | marvintm | Status | scheduled => resolved |
2017-12-17 18:33 | marvintm | Fixed in Version | => RR18Q1 |
2017-12-17 18:33 | marvintm | Resolution | open => fixed |
2017-12-18 09:34 | marvintm | Review Assigned To | => marvintm |
2017-12-18 09:34 | marvintm | Status | resolved => closed |
2018-06-26 11:30 | hgbot | Checkin | |
2018-06-26 11:30 | hgbot | Note Added: 0105391 | |
2018-06-26 11:43 | hgbot | Checkin | |
2018-06-26 11:43 | hgbot | Note Added: 0105434 | |
2018-06-26 13:46 | gorka_gil | Note Deleted: 0105391 | |
2018-06-26 13:46 | gorka_gil | Note Deleted: 0105434 | |
Notes |
|
(0100743)
|
hgbot
|
2017-11-27 17:27
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.combo
Changeset: 45cacd2fa5894fb1b37f3616274422f28ffd963a
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Nov 24 15:25:52 2017 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/45cacd2fa5894fb1b37f3616274422f28ffd963a [^]
Fixed issue 37332: combo discount is not applied but it is displayed in some
lines
- A new field EM_Obcombo_Allowhighdiscprice was added to allow Combo
Discount price greater than the lines price
---
M src-db/database/model/modifiedTables/M_OFFER.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M web/org.openbravo.retail.discounts.combo/source/combo-rule-impl.js
---
|
|
|
(0100801)
|
hgbot
|
2017-11-28 20:23
|
|
|
|
(0100802)
|
hgbot
|
2017-11-28 20:31
|
|
|
|
|
The fix is not complete. Now it works correctly for the Combo discount, but it still doesn't work correctly for the Combo Fixed Price discount. The current change is correct, but an additional change needs to be added for this case.
In combo-rule-impl.js file, in line 365, the promotion amount is checked to be positive. This check needs to be modified to take into account the discountRule.get('obcomboAllowinclineprice') property. |
|
|
(0100948)
|
hgbot
|
2017-12-08 18:55
|
|
|
|
(0100950)
|
hgbot
|
2017-12-08 21:26
|
|
|
|
(0101008)
|
hgbot
|
2017-12-12 21:39
|
|
|
|
(0101013)
|
hgbot
|
2017-12-13 14:56
|
|
|
|
(0101046)
|
hgbot
|
2017-12-14 18:22
|
|
Repository: tools/automation/pi-mobile
Changeset: f682dbbc3be2d663a3b2ea64ae0faa05564eb23e
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Thu Dec 14 12:20:31 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f682dbbc3be2d663a3b2ea64ae0faa05564eb23e [^]
Related to issue 37332: combo discount is not applied but it is displayed in
some lines
- Added support for new check "Allow Increase Line Price"
---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_combo/I35583_VerifyComboFixPriceII.java
---
|
|
|
(0101066)
|
hgbot
|
2017-12-15 16:21
|
|
|