Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037012
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-10-05 15:052017-10-23 14:58
ReporterasiermartirenaView Statuspublic 
Assigned Toasiermartirena 
PrioritynormalResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision80d6e7c6b21a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037012: Deleted service line is not correctly saved when deleting by an 'undo' action

DescriptionDeleted 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 ReproduceEnable 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
2017-10-23 14:58

Tested and reviewed

- Issue History
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 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
Powered by Mantis Bugtracker