Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033587 | Retail Modules | Web POS | public | 2016-08-02 09:13 | 2016-10-10 19:02 |
|
Reporter | airaceburu | |
Assigned To | jorge-garcia | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR16Q4 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033587: PreDeleteCurrentOrderHook is not called either from the cashup or from the logout |
Description | PreDeleteCurrentOrderHook is not called either from the cashup or from the logout |
Steps To Reproduce | Login
Place a breakpoint in PreDeleteCurrentOrderHook
Add one item to the receipt
Logout
Verify that the execution is not stopped
--
Login
Place a breakpoint in PreDeleteCurrentOrderHook
Add one item to the receipt
Click on Cashup in the main menu
Click on delete (the current order)
Verify that the execution is not stopped |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0034030 | RR16Q3.2 | closed | jorge-garcia | PreDeleteCurrentOrderHook is not called either from the cashup or from the logout | causes | defect | 0034203 | | closed | mario_castello | [SERQA 1940] The OBPOS_PreDeleteCurrentOrder hook is called when tickets loaded from backend are removed | causes | defect | 0034227 | | closed | jorge-garcia | It is not possible to do a logout if you have a ticket with all lines deleted |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-08-02 09:13 | airaceburu | New Issue | |
2016-08-02 09:13 | airaceburu | Assigned To | => Retail |
2016-08-02 09:13 | airaceburu | OBNetwork customer | => Yes |
2016-08-02 09:13 | airaceburu | Triggers an Emergency Pack | => No |
2016-08-26 23:05 | mario_castello | Assigned To | Retail => mario_castello |
2016-08-30 21:14 | mario_castello | Status | new => acknowledged |
2016-09-02 17:44 | mario_castello | Status | acknowledged => scheduled |
2016-09-07 20:59 | hgbot | Checkin | |
2016-09-07 20:59 | hgbot | Note Added: 0089818 | |
2016-09-07 20:59 | hgbot | Status | scheduled => resolved |
2016-09-07 20:59 | hgbot | Resolution | open => fixed |
2016-09-07 20:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc2b2fbce73b592f8b62cc977da7460f4fa503f [^] |
2016-09-07 21:02 | mario_castello | Note Edited: 0089818 | bug_revision_view_page.php?bugnote_id=0089818#r13080 |
2016-09-07 21:17 | hgbot | Checkin | |
2016-09-07 21:17 | hgbot | Note Added: 0089819 | |
2016-09-08 16:52 | guilleaer | Review Assigned To | => guilleaer |
2016-09-08 16:52 | guilleaer | Status | resolved => closed |
2016-09-08 16:52 | guilleaer | Fixed in Version | => RR16Q4 |
2016-09-15 13:27 | jorge-garcia | Note Added: 0089981 | |
2016-09-15 13:27 | jorge-garcia | Status | closed => new |
2016-09-15 13:27 | jorge-garcia | Resolution | fixed => open |
2016-09-15 13:27 | jorge-garcia | Fixed in Version | RR16Q4 => |
2016-09-15 13:31 | jorge-garcia | Status | new => scheduled |
2016-09-15 13:31 | jorge-garcia | Assigned To | mario_castello => jorge-garcia |
2016-09-20 11:40 | hgbot | Checkin | |
2016-09-20 11:40 | hgbot | Note Added: 0090105 | |
2016-09-20 11:40 | hgbot | Checkin | |
2016-09-20 11:40 | hgbot | Note Added: 0090106 | |
2016-09-20 11:40 | hgbot | Checkin | |
2016-09-20 11:40 | hgbot | Note Added: 0090107 | |
2016-09-20 11:40 | hgbot | Checkin | |
2016-09-20 11:40 | hgbot | Note Added: 0090108 | |
2016-09-20 12:11 | marvintm | Status | scheduled => acknowledged |
2016-09-20 12:11 | marvintm | Status | acknowledged => scheduled |
2016-09-20 13:47 | jorge-garcia | Status | scheduled => resolved |
2016-09-20 13:47 | jorge-garcia | Resolution | open => fixed |
2016-10-10 19:02 | marvintm | Review Assigned To | guilleaer => marvintm |
2016-10-10 19:02 | marvintm | Status | resolved => closed |
2016-10-10 19:02 | marvintm | Fixed in Version | => RR16Q4 |
2016-10-13 17:15 | aaroncalero | Relationship added | causes 0034203 |
2016-10-20 19:14 | dmitry_mezentsev | Relationship added | causes 0034227 |
Notes |
|
(0089818)
|
hgbot
|
2016-09-07 20:59
(edited on: 2016-09-07 21:02) |
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5fc2b2fbce73b592f8b62cc977da7460f4fa503f
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Sep 07 07:56:34 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc2b2fbce73b592f8b62cc977da7460f4fa503f [^]
Fixed issue 33587: Moved the hook OBPOS_PreDeleteCurrentOrder from pointOfSales to order.
Now can be called the function deleteOrder when delete a receipt to execute the hook OBPOS_PreDeleteCurrentOrder.
Call function deleteOrder from cashup.
Call function deleteOrder when the user close the session.
---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabpendingreceipts.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
|
|
|
(0089819)
|
hgbot
|
2016-09-07 21:17
|
|
|
|
(0089981)
|
jorge-garcia
|
2016-09-15 13:27
|
|
The flows with the Preference 'WebPOS Save Remove Ticket' active are not going through the PreDeleteCurrentOrder hook. |
|
|
(0090105)
|
hgbot
|
2016-09-20 11:40
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: aefe9683c6dd07fb2eb0521b54960400126d8681
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 19 12:36:19 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aefe9683c6dd07fb2eb0521b54960400126d8681 [^]
Related to issue 33587: PreDeleteCurrentOrderHook is not called either from
the cashup or from the logout
Centralize the functionality to delete a ticket keeping in mind all the flows
that use this functionality:
* Delete Tickets from the Point of sale Window
* Delete ticket from the CashUp Window
* Delete ticket in the logout
Also implemented the part where the user wants to save delete tickets from
the WebPOS.
---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabpendingreceipts.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
|
|
|
(0090106)
|
hgbot
|
2016-09-20 11:40
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 90ad72953c8f1bafc7797cfd3246be2f8fae19ea
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 20 09:02:05 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/90ad72953c8f1bafc7797cfd3246be2f8fae19ea [^]
Related to issue 33587: PreDeleteCurrentOrderHook is not called either from
the cashup or from the logout
Change the logout funtionality to close always the active session.
Fix JSlint errors of previous fixes.
---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0090107)
|
hgbot
|
2016-09-20 11:40
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 944a5e21a32531c10cacb32d7e5ca5239678dba3
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 19 12:35:40 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/944a5e21a32531c10cacb32d7e5ca5239678dba3 [^]
Related to issue 33587: PreDeleteCurrentOrderHook is not called either from
the cashup or from the logout
Centralize the functionality to delete a ticket keeping in mind all the flows
that use this functionality:
* Delete Tickets from the Point of sale Window
* Delete ticket from the CashUp Window
* Delete ticket in the logout
Also implemented the part where the user wants to save delete tickets from
the WebPOS.
---
M web/org.openbravo.mobile.core/source/component/dialog/ob-logout.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0090108)
|
hgbot
|
2016-09-20 11:40
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 49015c21ad6a053b0a9165e052de16f6aee52c0c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 20 09:03:22 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/49015c21ad6a053b0a9165e052de16f6aee52c0c [^]
Related to issue 33587: PreDeleteCurrentOrderHook is not called either from
the cashup or from the logout
Change the lock funtionality to not close the session and don't delete the
pending orders.
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|