Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040113 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | have not tried | 2019-01-16 18:14 | 2019-03-05 17:43 | |||
Reporter | asiermartirena | View Status | public | |||||
Assigned To | asiermartirena | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 17d148dc3fc3 | ||||
Projection | none | ETA | none | Target Version | RR19Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | jorge-garcia | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040113: The updatePending function is executed too much times | |||||||
Description | The updatePending function is executed too many times during a single flow, when it should be executed only once setting the final status. In addition, the function is executed also when the tab (the 'payment' tab) which has the buttons that are being shown/hidden or enabled/disabled is not shown. This function should't be executed in that case. | |||||||
Steps To Reproduce | Open the Web POS and set a break point in the updatePending function. Create a ticket in the Web POS --> Check that the updatePending function is being executed even if the payment tab is not shown Add a payment --> Check that the updatePending function is called many times, when should be called only once | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0109869) hgbot (developer) 2019-02-15 13:08 |
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal Changeset: 17d148dc3fc3a0c357741d1bec63a64c1caff49d Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Fri Feb 15 13:07:22 2019 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/17d148dc3fc3a0c357741d1bec63a64c1caff49d [^] Fixed issue 40113: The updatePending function is executed too much times The updatePending is now called only when clicking in the payment tab, when changing the business partner (and the focus is in the payment tab), when the adjustPayment function is called (and the focus is in the payment tab and also the calculateReceipt process is not being executed) and after the calculateReceipt process has been finished (and the focus is in the payment tab). --- M web/org.openbravo.retail.posterminal/js/model/order.js M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js --- |
(0110241) jorge-garcia (viewer) 2019-03-05 17:43 |
Code reviewed and tested |
![]() |
|||
Date Modified | Username | Field | Change |
2019-02-04 09:17 | marvintm | Type | design defect => backport |
2019-02-04 09:17 | marvintm | Target Version | => RR19Q1 |
2019-02-15 13:08 | hgbot | Checkin | |
2019-02-15 13:08 | hgbot | Note Added: 0109869 | |
2019-02-15 13:08 | hgbot | Status | scheduled => resolved |
2019-02-15 13:08 | hgbot | Resolution | open => fixed |
2019-02-15 13:08 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/03faa9514189498f020b85f699de2573fc1ddcfb [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/17d148dc3fc3a0c357741d1bec63a64c1caff49d [^] |
2019-03-05 17:43 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-03-05 17:43 | jorge-garcia | Note Added: 0110241 | |
2019-03-05 17:43 | jorge-garcia | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |