Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037012 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-10-05 15:05 | 2017-10-23 14:58 | |||
Reporter | asiermartirena | View Status | public | |||||
Assigned To | asiermartirena | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 80d6e7c6b21a | ||||
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 | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037012: Deleted service line is not correctly saved when deleting by an 'undo' action | |||||||
Description | Deleted service lines saved when doing an 'undo' action are not correctly saved. The ordered and delivered quantities are not set to zero, and in consequence a shipment is generated for that removed line. This happens because the service quantity is set to zero without disabling the services quantity rules, so it's quantity is set again to the previous one before deleting it. The line removing code must also be executed by the 'deleteLines' API. | |||||||
Steps To Reproduce | Enable the preference to save removed tickets/lines. Add a product with a service related. Click on the undo button (the service line is removed). Pay and synchronize the ticket. Check in back-end that the service line has an ordered and a delivered quantity of 1, and that a shipment has been created for that line. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0099784) hgbot (developer) 2017-10-06 09:52 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 80d6e7c6b21aeacefd779d3d0fbbd3be7695842b Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Thu Oct 05 15:15:15 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80d6e7c6b21aeacefd779d3d0fbbd3be7695842b [^] Fixed issue 37012: Fixed problem when saving a line after deleting by the 'undo' action Now, the 'deleteLines' API is used to delete the line. Additionally, the services are not updated during this delete process, or the quantity would be set again after setting to 0. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0099995) migueldejuana (viewer) 2017-10-23 14:58 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2017-10-05 15:05 | asiermartirena | New Issue | |
2017-10-05 15:05 | asiermartirena | Assigned To | => asiermartirena |
2017-10-05 15:05 | asiermartirena | OBNetwork customer | => No |
2017-10-05 15:05 | asiermartirena | Triggers an Emergency Pack | => No |
2017-10-06 09:52 | hgbot | Checkin | |
2017-10-06 09:52 | hgbot | Note Added: 0099784 | |
2017-10-06 09:52 | hgbot | Status | new => resolved |
2017-10-06 09:52 | hgbot | Resolution | open => fixed |
2017-10-06 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80d6e7c6b21aeacefd779d3d0fbbd3be7695842b [^] |
2017-10-23 14:31 | migueldejuana | Review Assigned To | => migueldejuana |
2017-10-23 14:58 | migueldejuana | Note Added: 0099995 | |
2017-10-23 14:58 | migueldejuana | Status | resolved => closed |
2017-10-23 14:58 | migueldejuana | Fixed in Version | => RR18Q1 |
Copyright © 2000 - 2009 MantisBT Group |