Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032674 | Retail Modules | Web POS | public | 2016-04-15 10:03 | 2016-04-28 10:13 |
|
Reporter | umartirena | |
Assigned To | ranjith_qualiantech_com | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR16Q3 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | 2015-12-15 |
Regression introduced in release | RR16Q1 |
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed7f8734ef3bb2cd7eb6b310facea36835c6d9cb [^] |
Triggers an Emergency Pack | No |
|
Summary | 0032674: [SER-QA 911] Discounts are not properly obtained when loading a ticket with discounts from the backend |
Description | Discounts are not properly obtained when loading a ticket with discounts from the backend. A ticket with a line with certain discounts is synchronized to the backend, and when retrieving it the values of the discounts are not properly displayed. |
Steps To Reproduce | In Web POS:
- A a line with a ticket for product "Crampons 10 point", qty: 3
- A "price_adjust_chrampons_30_eur" discount is automatically applied, amount: -29.70.
- Go to "receipt discounts" menu entry and apply "disc_5_var_euro - 5 EUR" discount. A discount is applied in the line of amount -5. The previous discount is updated to amount -24.69.
- Pay and complete the ticket.
- Go to "Receipts" menu entry and search the ticket.
- The amount of "price_adjust_chrampons_30_eur" discount is now again -29.70, and this is wrong (even the total gross of the ticket is ok, because the promotion data in client side is wrong), it should be -24.69. |
Proposed Solution | The best way of action is to set at order's line level the flag skipApplyPromotions to true in the newPaidReceipt function.
After that, it's mandatory to try the flows of layaways, receipts, quotations and other possible flows that retrieve an order from the backend.
Keep in mind that in the create order from quotation flow, if the Firm Quotation field is unchecked, this flag must be change to false to recalculate the promotion and prices of the order's lines. This scenario, could be reproducible in another flows. |
Additional Information | |
Tags | SER-QA |
Relationships | depends on | backport | 0032691 | RR16Q2 | closed | Retail | [SER-QA 911] Discounts are not properly obtained when loading a ticket with discounts from the backend | depends on | backport | 0032692 | RR16Q1.1 | closed | Retail | [SER-QA 911] Discounts are not properly obtained when loading a ticket with discounts from the backend | related to | defect | 0032699 | | closed | shivum039 | Firm quotation doesn't work when creating a order from a quotation | causes | defect | 0033036 | | closed | ranjith_qualiantech_com | Quotation Amount is not calculated after reactivation |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-04-15 10:03 | umartirena | New Issue | |
2016-04-15 10:03 | umartirena | Assigned To | => Retail |
2016-04-15 10:03 | umartirena | Triggers an Emergency Pack | => No |
2016-04-15 11:11 | Orekaria | Status | new => acknowledged |
2016-04-15 11:14 | umartirena | Resolution time | => 1461880800 |
2016-04-18 12:57 | VictorVillar | Tag Attached: SER-QA | |
2016-04-18 12:58 | VictorVillar | Summary | Discounts are not properly obtained when loading a ticket with discounts from the backend => [SER-QA 911] Discounts are not properly obtained when loading a ticket with discounts from the backend |
2016-04-18 15:49 | jorge-garcia | Regression level | => Production - QA Approved |
2016-04-18 15:49 | jorge-garcia | Regression date | => 2015-12-15 |
2016-04-18 15:49 | jorge-garcia | Regression introduced in release | => RR16Q1 |
2016-04-18 15:49 | jorge-garcia | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed7f8734ef3bb2cd7eb6b310facea36835c6d9cb [^] |
2016-04-18 16:09 | jorge-garcia | Proposed Solution updated | |
2016-04-18 16:10 | jorge-garcia | Status | acknowledged => scheduled |
2016-04-18 16:11 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2016-04-19 09:11 | jorge-garcia | Relationship added | related to 0032699 |
2016-04-21 04:36 | hgbot | Checkin | |
2016-04-21 04:36 | hgbot | Note Added: 0085805 | |
2016-04-21 04:36 | hgbot | Checkin | |
2016-04-21 04:36 | hgbot | Note Added: 0085806 | |
2016-04-21 04:36 | hgbot | Checkin | |
2016-04-21 04:36 | hgbot | Note Added: 0085807 | |
2016-04-21 04:36 | hgbot | Status | scheduled => resolved |
2016-04-21 04:36 | hgbot | Resolution | open => fixed |
2016-04-21 04:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea3697a0359b1589f8f5ca9fd604ee5b686ad23b [^] |
2016-04-22 13:20 | hgbot | Checkin | |
2016-04-22 13:20 | hgbot | Note Added: 0085892 | |
2016-04-28 10:13 | marvintm | Review Assigned To | => marvintm |
2016-04-28 10:13 | marvintm | Status | resolved => closed |
2016-04-28 10:13 | marvintm | Fixed in Version | => RR16Q3 |
2016-06-07 12:40 | Orekaria | Relationship added | causes 0033036 |
Notes |
|
(0085805)
|
hgbot
|
2016-04-21 04:36
|
|
Repository: tools/automation/pi-mobile
Changeset: 6c416a6bd49676ee4e815cdd05cbd536efba95e1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Apr 21 08:04:12 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6c416a6bd49676ee4e815cdd05cbd536efba95e1 [^]
Verifies issue 32674 : Added automated test 'I32674_VerifyDiscountOnReloadTicket'
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I32674_VerifyDiscountOnReloadTicket.java
---
|
|
|
(0085806)
|
hgbot
|
2016-04-21 04:36
|
|
Repository: tools/automation/pi-mobile
Changeset: 6c416a6bd49676ee4e815cdd05cbd536efba95e1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Apr 21 08:04:12 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6c416a6bd49676ee4e815cdd05cbd536efba95e1 [^]
Verifies issue 32674 : Added automated test 'I32674_VerifyDiscountOnReloadTicket'
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I32674_VerifyDiscountOnReloadTicket.java
---
|
|
|
(0085807)
|
hgbot
|
2016-04-21 04:36
|
|
|
|
(0085892)
|
hgbot
|
2016-04-22 13:20
|
|
|