Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041448 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2019-07-24 16:31 | 2019-07-25 16:45 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c8ccf50bc538 | ||||
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 | adrianromero | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041448: Receipt is not loaded correctly in WebPOS when one of the addresses is not active | |||||||
Description | Receipt is not loaded correctly in WebPOS when one of the addresses is not active. Some lines are not loaded at all, changing the total amount of the ticket loaded in webpos. | |||||||
Steps To Reproduce | Log in backend. Go to the Preference window and configure the following preferences: * 'Enable Remote for Product' with value Y * 'Enable Remote for Customer' with value Y Log in WebPOS Search for the customer Carl Studson Add a new address for the customer. Create a new ticket Assign the customer Carl Studson Assing one of the addresses for shipping and the other for invoicing. Add three different products to the ticket. Complete the receipt. Log in backend, go to the Business Partner window, find Carl Studson and deactivate the shipping address used in the ticket. Go back to WebPOS and try to load the ticket again. Randomly one or two lines won't load, and the ticket total amount will change. | |||||||
Proposed Solution | The problem seems to be on the newPaidReceipt function [1] If at least one of the locations is not available in Web POS (i.e. because it was deactivated) the code calls loadBusinesPartner and in its callback it is calling locationForBpartner, which eventually calls loadProducts, which adds the lines to the ticket. At the same time, loadBusinesPartner executes most of the newPaidReceipt code again when it finishes, which causes duplicated calls to locationForBpartner (and finally to loadProducts) [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/model/order.js#l10071 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0113647) hgbot (developer) 2019-07-25 14:34 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: c8ccf50bc538a92d5a7303fa394555bff3abed0f Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Jul 25 18:03:59 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8ccf50bc538a92d5a7303fa394555bff3abed0f [^] Fixed issue 41448 : Customer and Location should be loaded from backoffice * Customer and Location should be loaded from backoffice if its not present in the local db. * Backoffice Customer and location will be updated in loadBusinesPartner callback. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0113649) adrianromero (viewer) 2019-07-25 16:45 |
Verified |
![]() |
|||
Date Modified | Username | Field | Change |
2019-07-24 16:31 | aaroncalero | New Issue | |
2019-07-24 16:31 | aaroncalero | Assigned To | => Retail |
2019-07-24 16:31 | aaroncalero | OBNetwork customer | => Gold |
2019-07-24 16:31 | aaroncalero | Resolution time | => 1565128800 |
2019-07-24 16:31 | aaroncalero | Triggers an Emergency Pack | => No |
2019-07-24 16:35 | aaroncalero | Steps to Reproduce Updated | View Revisions |
2019-07-24 16:43 | aaroncalero | Proposed Solution updated | |
2019-07-24 16:49 | aaroncalero | Description Updated | View Revisions |
2019-07-25 08:38 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-07-25 09:12 | ranjith_qualiantech_com | File Added: issue 41448 source posterminal.patch | |
2019-07-25 09:35 | ranjith_qualiantech_com | Status | new => scheduled |
2019-07-25 14:34 | hgbot | Checkin | |
2019-07-25 14:34 | hgbot | Note Added: 0113647 | |
2019-07-25 14:34 | hgbot | Status | scheduled => resolved |
2019-07-25 14:34 | hgbot | Resolution | open => fixed |
2019-07-25 14:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8ccf50bc538a92d5a7303fa394555bff3abed0f [^] |
2019-07-25 16:45 | adrianromero | Review Assigned To | => adrianromero |
2019-07-25 16:45 | adrianromero | Note Added: 0113649 | |
2019-07-25 16:45 | adrianromero | Status | resolved => closed |
2019-07-25 16:45 | adrianromero | Fixed in Version | => RR19Q4 |
2019-07-31 17:32 | guillermogil | Relationship added | related to 0041513 |
Copyright © 2000 - 2009 MantisBT Group |