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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035700
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Multi order paymentmajoralways2017-04-05 12:182017-05-08 11:41
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision28fdb6187e95
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035700: [Synchronized Mode] Fix some errors when using Pay Open Tickets

DescriptionWith Synchronized Mode enabled, there are several bugs. Pay Open Tickets doesn't update the cashup info in the backend. If Pay Open Tickets process fails synchronizing in backend, the UI gets broken. Etc..
Steps To ReproduceOne example:

- Create 2 receipts but don't pay them
- Open Pay Open Tickets
- Pay them
- Go to backend and open POS Terminal Window --> Cashup history
- Check the info and see that it is not updated
Proposed SolutionReview the whole process with Synchronized Mode enabled.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035744 closedSandrahuguet Synchronized Mode with Pay Open Tickets has no tests 
related to defect 0035742 closedmtaal Synchronized Mode with Quotation Reject does not show an error when it occurs on the server 
related to defect 0035737 closedmtaal Synchronized Mode is not working fine creating Customer/Customer Address in case an error occurs on the server 
related to defect 0035738 closedmtaal Synchronized Mode is not working in Void Layaway in case an error occurs on the server 

-  Notes
(0095842)
hgbot (developer)
2017-04-05 12:24

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 28fdb6187e95772f453c9ce86428faa3757aa9de
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Apr 05 12:23:46 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/28fdb6187e95772f453c9ce86428faa3757aa9de [^]

Fixed issue 0035700: [Synchronized Mode] Fix some errors when using Pay Open Tickets

- Show in modalmultiorders gross instead of pending. We could have payments in the order which could change the pending.
- Loading multiorders, remove possible payments from orders created in web POS. We have to load orders without payments to share correctly between all multiOrders.
- When failing processing orders, save isBeingClosed = false value in local database and in orderList.
- Save multiorders and payments status before processing them in order to restore the value if failing.
- For multiorders, trigger 'closed' event and runSyncProcess function just when last order is processed.
- Send order and cashup info in dataordersave.js. After saving the database checkpoint. It is done in the same place for Synchronized and No Synchronized Mode

---
M web/org.openbravo.retail.posterminal/js/components/modalmultiorders.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---

- Issue History
Date Modified Username Field Change
2017-04-05 12:18 migueldejuana New Issue
2017-04-05 12:18 migueldejuana Assigned To => migueldejuana
2017-04-05 12:18 migueldejuana Triggers an Emergency Pack => No
2017-04-05 12:24 hgbot Checkin
2017-04-05 12:24 hgbot Note Added: 0095842
2017-04-05 12:24 hgbot Status new => resolved
2017-04-05 12:24 hgbot Resolution open => fixed
2017-04-05 12:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/28fdb6187e95772f453c9ce86428faa3757aa9de [^]
2017-05-08 11:41 marvintm Review Assigned To => marvintm
2017-05-08 11:41 marvintm Status resolved => closed
2017-05-08 11:41 marvintm Fixed in Version => RR17Q3
2017-05-08 11:46 migueldejuana Relationship added related to 0035744
2017-05-08 11:47 marvintm Relationship added related to 0035742
2017-05-08 11:47 marvintm Relationship added related to 0035737
2017-05-08 11:48 marvintm Relationship added related to 0035738


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker