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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043088
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-02-02 20:452020-02-19 13:07
ReporterasiermartirenaView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityhighResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revision04ece4ec0bbc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043088: Prepayments are not being correctly managed in Pay Open Tickets

DescriptionUsing prepayments and pay open tickets, the prepayments are not being correctly calculated when that prepayment calculation has an asynchronous process. In addition, the calculation is being raised many times for each order.
Steps To ReproduceNot reproducible with the current prepayments algorithm in the Web POS. It could be reproduced, for example, with the algorithm created for BUT.
Proposed SolutionCall the method to calculate the prepayments in Pay Open Tickets having into account a possible asynchronous process.
Avoid also to call the process each time an order is added to the multiorder collection or when resetting the collection. Instead, call once all the orders have been added.
TagsNo tags attached.
Attached Files? file icon issue_43088.export [^] (8,619 bytes) 2020-02-07 14:22

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0117638)
hgbot (developer)
2020-02-11 14:01

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 04ece4ec0bbc4bfff741222e18bf5a3595c5dcbe
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Tue Feb 11 18:29:25 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/04ece4ec0bbc4bfff741222e18bf5a3595c5dcbe [^]

Fixed issue 43088: Manage asynchrony in pay open tickets when calculating prepayments

Modified the way to calculate the prepayments in the pay open tickets flow, to be able to manage correctly in the case the prepayments calculation algorithm has asynchrony.
In addition, changes done to avoid to call the calculation many times for each order.

---
M web/org.openbravo.retail.posterminal/js/components/modal-pay-open-tickets.js
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0117639)
hgbot (developer)
2020-02-11 14:01

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 603c4ae0e05befa20bbd1a9c01d2e8e80dd08261
Author: Prakash M <prakash <at> qualiantech.com>
Date: Tue Feb 11 18:29:25 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/603c4ae0e05befa20bbd1a9c01d2e8e80dd08261 [^]

Related to issue 43088: Fixed following issue in Pay Open Ticket

* Opened ticket lost on reload
* Added payment lost on reload

---
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---

- Issue History
Date Modified Username Field Change
2020-02-02 20:45 asiermartirena New Issue
2020-02-02 20:45 asiermartirena Assigned To => asiermartirena
2020-02-02 20:45 asiermartirena Triggers an Emergency Pack => No
2020-02-07 14:22 asiermartirena File Added: issue_43088.export
2020-02-07 14:26 asiermartirena Assigned To asiermartirena => prakashmurugesan88
2020-02-11 14:01 hgbot Checkin
2020-02-11 14:01 hgbot Note Added: 0117638
2020-02-11 14:01 hgbot Status new => resolved
2020-02-11 14:01 hgbot Resolution open => fixed
2020-02-11 14:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/04ece4ec0bbc4bfff741222e18bf5a3595c5dcbe [^]
2020-02-11 14:01 hgbot Checkin
2020-02-11 14:01 hgbot Note Added: 0117639
2020-02-19 13:07 guilleaer Review Assigned To => guilleaer
2020-02-19 13:07 guilleaer Status resolved => closed
2020-02-19 13:07 guilleaer Fixed in Version => RR20Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker