Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040418 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Omnichannel | minor | always | 2019-03-20 13:16 | 2019-03-26 19:18 | |||
Reporter | inaki_garcia | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b13bb3c0dfbf | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | Packaging and release | |||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040418: [RR19Q1] [OMNI] Incorrect error message is shown when reopening a partially paid ticket with an attempted Cancel and Replace | |||||||
Description | When reopening a partially paid ticket on which a "Cancel and Replace" has been attempted but not completed, the message "Receipt XXX is already opened in the session of 'user'" appears. | |||||||
Steps To Reproduce | 0. Log in the Web POS. 1. Create a ticket with more than one line, and partially pay it. 2. Use the menu option "Open Receipt" to seek and open the ticket created above. Note the ticket is properly opened. 3. Click on the "Cancel and Replace" menu option. A new ticket is created with the same id and the "-1" concatenated. "'Cancel and Replace' of <id>" message appears on the ticket. 4. Add a payment and try to delete the ticket. A popup with the "There has been payment added..." message appears. Dismiss the popup, remove the payment and delete the ticket. 5. Repeat step 2. NOTICE that this time an error popup message as depicted in the attached screenshot is shown reminding as if the user were working with the ticket, but said ticket shouldn't exist. The popup message keeps appearing each time this step is taken. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0110653) hgbot (developer) 2019-03-26 12:14 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: b13bb3c0dfbf761fc2ce7904cd411ad9abe32345 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue Mar 26 08:58:31 2019 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b13bb3c0dfbf761fc2ce7904cd411ad9abe32345 [^] Fixed issue 40418: [RR19Q1] [OMNI] Incorrect error message is shown when reopening a partially paid ticket with an attempted Cancel and Replace Backbone has a functionality inside its collections where the added models ids are save in an internal variable. If a model inside a backbone collection change its id, the collection does not remove the loaded id from its internal variable. The solution is to remove element from collection before changing its id and add it again after all changes. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-03-20 13:16 | inaki_garcia | New Issue | |
2019-03-20 13:16 | inaki_garcia | Assigned To | => Retail |
2019-03-20 13:16 | inaki_garcia | OBNetwork customer | => No |
2019-03-20 13:16 | inaki_garcia | Regression level | => Packaging and release |
2019-03-20 13:16 | inaki_garcia | Triggers an Emergency Pack | => No |
2019-03-20 13:16 | inaki_garcia | Issue generated from | 0040088 |
2019-03-20 13:16 | inaki_garcia | Relationship added | related to 0040088 |
2019-03-20 13:28 | inaki_garcia | Summary | [RR19Q1] [OMNI] Incorrect error message is shown => [RR19Q1] [OMNI] Incorrect error message is shown when reopening a partially paid ticket with an attempted Cancel and Replace |
2019-03-20 13:28 | inaki_garcia | Description Updated | View Revisions |
2019-03-20 13:28 | inaki_garcia | Steps to Reproduce Updated | View Revisions |
2019-03-20 13:29 | inaki_garcia | Description Updated | View Revisions |
2019-03-20 13:31 | inaki_garcia | File Added: ReceiptAlreadyOpened.jpg | |
2019-03-20 13:32 | inaki_garcia | File Added: ReceiptAlreadyOpened.png | |
2019-03-20 13:32 | inaki_garcia | File Deleted: ReceiptAlreadyOpened.jpg | |
2019-03-25 16:36 | jorge-garcia | Status | new => scheduled |
2019-03-25 16:36 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2019-03-26 12:14 | hgbot | Checkin | |
2019-03-26 12:14 | hgbot | Note Added: 0110653 | |
2019-03-26 12:14 | hgbot | Status | scheduled => resolved |
2019-03-26 12:14 | hgbot | Resolution | open => fixed |
2019-03-26 12:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b13bb3c0dfbf761fc2ce7904cd411ad9abe32345 [^] |
2019-03-26 19:18 | marvintm | Review Assigned To | => marvintm |
2019-03-26 19:18 | marvintm | Status | resolved => closed |
2019-03-26 19:18 | marvintm | Fixed in Version | => RR19Q2 |
2022-08-02 07:12 | ranjith_qualiantech_com | Relationship added | related to 0049770 |
Copyright © 2000 - 2009 MantisBT Group |