Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038845 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-06-26 17:50 | 2018-07-09 12:44 | |||
Reporter | asiermartirena | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 382e07c38457 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038845: The related receipts of an order are not being loaded correctly | |||||||
Description | When having the 'Open related receipts' functionality configured for a POS Terminal Type, the opened related documents are not being selected correctly. The popup that appears to select the receipts to load is not managing correctly the orders, and is possible to load a ticket that is not selected, and a ticket that is selected is not loaded. | |||||||
Steps To Reproduce | In the POS Terminal Type window, set the 'Open related receipts' check activated. Load the Web POS. Created three layaways for the 'Arturo Montoro' without any payment. Open the 'Open receipt' selector, and select one of those three layaways to load in the Web POS. The popup to open the related receipts appears with the other two orders. Uncheck the first order and click the 'Apply' button. Realize that in addition to the initial order, the first order is being loaded instead of the second one, when the first one was the unchecked order. | |||||||
Proposed Solution | Attached the proposed solution in an export file. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0105639) hgbot (developer) 2018-07-05 14:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 382e07c384576868b38187818bb5a118f30c1aeb Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Thu Jul 05 17:36:15 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/382e07c384576868b38187818bb5a118f30c1aeb [^] Fixed issue 38845: The related receipts of an order are not being loaded correctly Now, to remove a record from the this.selectedOrders array (the array that stores the orders to load) a 'for' loop is used instead of the 'indexOf' function, that was not working correctly. Also, when adding again an order to the array, instead of introducing the full backbone model, only the json with the properties is stored, to maintain the consistency. --- M web/org.openbravo.retail.posterminal/js/components/openRelatedReceiptsModal.js --- |
(0105674) migueldejuana (viewer) 2018-07-09 12:44 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2018-06-26 17:50 | asiermartirena | New Issue | |
2018-06-26 17:50 | asiermartirena | Assigned To | => Retail |
2018-06-26 17:50 | asiermartirena | OBNetwork customer | => Yes |
2018-06-26 17:50 | asiermartirena | Resolution time | => 1531173600 |
2018-06-26 17:50 | asiermartirena | Triggers an Emergency Pack | => No |
2018-06-26 17:57 | asiermartirena | File Added: issue_38845.export | |
2018-06-26 17:58 | asiermartirena | Proposed Solution updated | |
2018-06-29 12:15 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-06-29 12:15 | ranjith_qualiantech_com | Status | new => scheduled |
2018-07-05 14:06 | hgbot | Checkin | |
2018-07-05 14:06 | hgbot | Note Added: 0105639 | |
2018-07-05 14:06 | hgbot | Status | scheduled => resolved |
2018-07-05 14:06 | hgbot | Resolution | open => fixed |
2018-07-05 14:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/382e07c384576868b38187818bb5a118f30c1aeb [^] |
2018-07-09 12:44 | migueldejuana | Review Assigned To | => migueldejuana |
2018-07-09 12:44 | migueldejuana | Note Added: 0105674 | |
2018-07-09 12:44 | migueldejuana | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |