Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033176 | Retail Modules | Web POS | public | 2016-06-07 18:07 | 2018-03-19 09:27 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | Sandrahuguet | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR18Q2 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033176: OrderLoader countPayments functions is called to often (once per payment) | |||||||||||
Description | The countPayments functions which counts all payment related to the order being processed is called in a loop per payment present in the Order. That seems to not be required as the code can easily know how many payments it created (via the loop) so should only need to query some initial payment-count once before the loop (to find any possible payments created before this orderloader invocation). Then it could use this startcount + simple add a counter to get unique DocumentNo. | |||||||||||
Steps To Reproduce | Configure POS to use useOrderDocumentNoForRelatedDocs preference to use that code-path. Add item to webpos cart. Use 2 different payments methods to pay this ticket i.e. 5€ cash + rest 'credit'. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Performance | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-06-07 18:07 | shuehner | New Issue | ||||||||||
2016-06-07 18:07 | shuehner | Assigned To | => Retail | |||||||||
2016-06-07 18:07 | shuehner | OBNetwork customer | => No | |||||||||
2016-06-07 18:07 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2016-06-07 18:07 | shuehner | Relationship added | related to 0033123 | |||||||||
2016-06-07 18:07 | shuehner | Tag Attached: Performance | ||||||||||
2018-03-14 13:14 | Sandrahuguet | Assigned To | Retail => Sandrahuguet | |||||||||
2018-03-14 15:19 | Sandrahuguet | Review Assigned To | => marvintm | |||||||||
2018-03-15 08:23 | hgbot | Checkin | ||||||||||
2018-03-15 08:23 | hgbot | Note Added: 0103263 | ||||||||||
2018-03-15 08:23 | hgbot | Status | new => resolved | |||||||||
2018-03-15 08:23 | hgbot | Resolution | open => fixed | |||||||||
2018-03-15 08:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0050c49b4a1f375b764ecfb881d2120606e9a8e6 [^] | |||||||||
2018-03-19 09:27 | marvintm | Status | resolved => closed | |||||||||
2018-03-19 09:27 | marvintm | Fixed in Version | => RR18Q2 |
Notes | |||||
|
|||||
|
|