Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039760 | Retail Modules | Web POS | public | 2018-12-04 17:20 | 2018-12-11 15:27 |
Reporter | aaroncalero | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | migueldejuana | ||||
OBNetwork customer | Gold | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039760: [Service by Tranche] WebPOS blocked after removing a ticket when Save Removed Tickets is configured | ||||
Description | When the WebPOS Save Removed Tickets preference is configured, removing a ticket with a product and a service (configured with tranches) leaves the WebPOS in a blocked state. When that ticket is removed, a calculateReceipt is fired (because of the Save Removed Tickets preference), and then on the calculatedReceipt event the Service Tranches logic tries to remove again the service, triggering a second calculateReceipt when it is blocked | ||||
Steps To Reproduce | In an environment with the standard Retail sampledata: Login in backend as White Valley Group Admin. Go to the Preference window and configure the 'Web POS Save Removed Tickets' preference. Go to the Product window, find the 'Customize Coat' product, and on its Price Rule Version tab modify the existing record and define a Minimum of 50 and a Maximum of 150. Login in webpos Create a new ticket Add the product Coat When the related services are shown, add the Customize Coat service. Try to delete the ticket. The Service Removed popup will be shown (which is not correct) Moreover, a "calculateGross execution is forbidden right now" error will be shown in the browser console. | ||||
Proposed Solution | Attached patch with the solution: the Service by Tranche logic to remove services will ignore lines that are already deleted. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=12412&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-12-04 17:20 | aaroncalero | New Issue | |||
2018-12-04 17:20 | aaroncalero | Assigned To | => Retail | ||
2018-12-04 17:20 | aaroncalero | OBNetwork customer | => Gold | ||
2018-12-04 17:20 | aaroncalero | Resolution time | => 1545087600 | ||
2018-12-04 17:20 | aaroncalero | Triggers an Emergency Pack | => No | ||
2018-12-04 17:30 | aaroncalero | File Added: Issue39760.export | |||
2018-12-06 14:09 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2018-12-06 14:10 | ranjith_qualiantech_com | Status | new => scheduled | ||
2018-12-10 07:32 | hgbot | Checkin | |||
2018-12-10 07:32 | hgbot | Note Added: 0108353 | |||
2018-12-10 07:32 | hgbot | Status | scheduled => resolved | ||
2018-12-10 07:32 | hgbot | Resolution | open => fixed | ||
2018-12-10 07:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c835aed8258fe2e051b1b30b7655132ff012f90c [^] | ||
2018-12-10 11:58 | migueldejuana | Review Assigned To | => migueldejuana | ||
2018-12-10 11:58 | migueldejuana | Note Added: 0108357 | |||
2018-12-10 11:58 | migueldejuana | Status | resolved => closed | ||
2018-12-11 15:27 | hgbot | Checkin | |||
2018-12-11 15:27 | hgbot | Note Added: 0108395 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|