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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029413
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Layaway ordermajoralways2015-03-25 17:302016-04-20 19:46
ReporteraaroncaleroView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1c4693543768
ProjectionnoneETAnoneTarget VersionRR16Q3
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

0029413: Reloading the page after voiding a layaway breaks cashup information

DescriptionIf the user reloads the page right after tapping Done during the Void Layaway process, the cashupReport function will not be executed and therefore the cashup data will be inconsistent.
Steps To ReproduceLogin in WebPOS
Create a layaway (create a ticket, go to the menu, select Layaway this receipt).
Complete the layaway (tap the total amount button, then Layaway).
Verify values on the cashup, paymentmethodcashup and taxcashup tables.
Reopen the layaway using the menu option Layaways.
Use the menu option Void this layaway and tap the Done button. (Alternatively force a connection loss after tapping the Done button).
If the page is reloaded before the callback of the ProcessVoidLayaway happens, the cashup information will not be updated
Proposed SolutionThe voided layaway should be sent to the server only after the local data has been updated, following a similar flow to the one that occurs after closing (paying) a ticket.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085547)
hgbot (developer)
2016-04-11 08:52

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1c46935437680f8627ed61914a06846b1d38c8ff
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Apr 06 09:44:07 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c46935437680f8627ed61914a06846b1d38c8ff [^]

Fixed issue 29413: Reloading the page after voiding a layaway breaks cashup
information

The solution is to update the cash up report before the execution of the void
layaway process.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0085796)
migueldejuana (developer)
2016-04-20 19:45

Tested and reviewed

- Issue History
Date Modified Username Field Change
2015-03-25 17:30 aaroncalero New Issue
2015-03-25 17:30 aaroncalero Assigned To => Retail
2015-03-25 17:30 aaroncalero Triggers an Emergency Pack => No
2015-06-15 18:07 marvintm Target Version RR15Q3 => RR15Q4
2015-09-29 14:23 Orekaria Target Version RR15Q4 => RR16Q1
2015-12-21 18:23 Orekaria Target Version RR16Q1 =>
2015-12-21 18:40 Orekaria Target Version => RR16Q2
2016-03-30 14:27 Orekaria Target Version RR16Q2 => RR16Q3
2016-04-01 12:50 jorge-garcia Status new => scheduled
2016-04-01 12:50 jorge-garcia Assigned To Retail => jorge-garcia
2016-04-11 08:52 hgbot Checkin
2016-04-11 08:52 hgbot Note Added: 0085547
2016-04-11 08:52 hgbot Status scheduled => resolved
2016-04-11 08:52 hgbot Resolution open => fixed
2016-04-11 08:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c46935437680f8627ed61914a06846b1d38c8ff [^]
2016-04-20 19:45 migueldejuana Note Added: 0085796
2016-04-20 19:46 migueldejuana Review Assigned To => migueldejuana
2016-04-20 19:46 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker