Notes |
|
(0106789)
|
hgbot
|
2018-09-17 01:34
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 81c99a1ef11a160b7db059670fcc28512c6d1995
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 10 11:38:59 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/81c99a1ef11a160b7db059670fcc28512c6d1995 [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Virified if synchronizedData is empty to be sure that everything was
synchronized
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
|
The fix is not correct. We need to ensure that the scrim doesn't appear until the ticket disappears from the UI, and the process is completely done. |
|
|
(0106800)
|
hgbot
|
2018-09-17 13:06
|
|
|
|
(0106836)
|
hgbot
|
2018-09-18 14:28
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ecc7cb13bfb45820f0feb2ce34c443360df5e2ce
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 17 11:30:02 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecc7cb13bfb45820f0feb2ce34c443360df5e2ce [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Moved call to hideSynchronizingDialog function after delete ticket action
---
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/utils/ticketCloseUtils.js
---
|
|
|
|
Still doesn't work properly, synchronising popup is removed too soon. |
|
|
(0106936)
|
hgbot
|
2018-09-21 12:49
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f5ff6c1de780c75694e2e72cf9637fc65e7ba933
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 17 11:10:01 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f5ff6c1de780c75694e2e72cf9637fc65e7ba933 [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Moved call to hideSynchronizingDialog function after delete ticket action
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
|
Now the popup is correctly hidden only after the ticket is fully processed, this part is working correctly.
However, now in some flows, the popup becomes stuck, and is never hidden. For example, in this one:
- Activate synchronize mode.
- Log in the application.
- Do a ticket. Up to this point, everything is correctly.
- Then do F5. The synchronize mode popup is shown, and never hidden. This means that the terminal is now stuck and it's not possible to do anything. |
|
|
(0106960)
|
hgbot
|
2018-09-24 13:22
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 192e1fe7a877613b3b7dd74defb4d927655718dd
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Sep 24 13:17:11 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/192e1fe7a877613b3b7dd74defb4d927655718dd [^]
Related to issue 39180. Backout change until the proper solution is found.
- I34285_VerifyCustomerSaveAction broken
- Backed out changeset ecc7cb13bfb4
---
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/utils/ticketCloseUtils.js
---
|
|
|
(0106961)
|
hgbot
|
2018-09-24 13:22
|
|
|
|
(0106962)
|
hgbot
|
2018-09-24 13:22
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b42b5c8ff72571f04fd04b1d5f797dce9f5c5c59
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Sep 24 13:07:06 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b42b5c8ff72571f04fd04b1d5f797dce9f5c5c59 [^]
Related to issue 39180. Backout change until the proper solution is found.
- I34285_VerifyCustomerSaveAction broken
- Backed out changeset f5ff6c1de780
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0106963)
|
hgbot
|
2018-09-24 13:22
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0e045b6ac34bcb3f24d70af180a2aba07380f21a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Sep 24 13:07:15 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0e045b6ac34bcb3f24d70af180a2aba07380f21a [^]
Related to issue 39180. Backout change until the proper solution is found.
- I34285_VerifyCustomerSaveAction broken
- Backed out changeset 73679bee4ec2
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0106964)
|
hgbot
|
2018-09-24 13:22
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6486b9428b31d2f100037a90cdfb14b9dccaf004
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Sep 24 13:07:25 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6486b9428b31d2f100037a90cdfb14b9dccaf004 [^]
Related to issue 39180. Backout change until the proper solution is found.
- I34285_VerifyCustomerSaveAction broken
- Backed out changeset 81c99a1ef11a
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0107194)
|
hgbot
|
2018-10-05 15:19
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f3a2e2aa4092bf2851c9f489202fa3c4b84f6756
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 24 10:13:15 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f3a2e2aa4092bf2851c9f489202fa3c4b84f6756 [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Moved call to hideSynchronizingDialog function after delete ticket action
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-synchronizationmonitor.js
---
|
|
|
(0107195)
|
hgbot
|
2018-10-05 15:19
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cbf17956b1743d152c01b355dff8e5974e060092
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 24 10:37:13 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cbf17956b1743d152c01b355dff8e5974e060092 [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Moved call to hideSynchronizingDialog function after runSyncProcess action
---
M web/org.openbravo.retail.posterminal/js/data/datacustomeraddrsave.js
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.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/utils/ticketCloseUtils.js
---
|
|
|
|
Still doesn't work properly. Most flows work, but the Open Till window is opening the synchronized mode popup also, and leaving it open, so the POS becomes blocked in that window.
After some internal discussion, we think that maybe the approach we have tried to follow is not safe enough, and it is too prone to generate a regression.
Therefore, we propose to follow a different path: instead of trying to close the synchronized mode popup later in the process, we will close it in the centralized api, but will leave the scrim in the ticket processing flow, and remove the scrim only when it is safe. |
|
|
(0107197)
|
hgbot
|
2018-10-06 05:04
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3d6eae5d6eb9122de6c023b9e42b1a535c7788ab
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Oct 05 14:30:07 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3d6eae5d6eb9122de6c023b9e42b1a535c7788ab [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Show scrim at the beginning the close of the ticket
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-synchronizationmonitor.js
---
|
|
|
(0107198)
|
hgbot
|
2018-10-06 05:05
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f075a8c98774b2167466727968a4495ad066df31
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Oct 05 15:22:12 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f075a8c98774b2167466727968a4495ad066df31 [^]
Fixed issue 39180: When synchronizing an order in synchronized mode, the scrim
is hidden before that it should
- Backed out changeset: cbf17956b174
---
M web/org.openbravo.retail.posterminal/js/data/datacustomeraddrsave.js
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.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/utils/ticketCloseUtils.js
---
|
|
|
|
Solution is now working correctly, but the code is not in the right place. Instead of being inside ob-terminal-model, which is supposed to contain generic code which should be executed for every model, it should be moved to dataordersave.js, because we only want to activate the scrim specifically in the flow for order synchronization |
|
|
|
After further discussion, the final solution has been considered correct. |
|