Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0041529 | Retail Modules | Return Receipt | public | 2019-08-02 00:20 | 2019-08-02 08:11 |
Reporter | matias-bernal | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0041529: OBRETUR_ReturnFromOrig hook does not execute the callbackExecutor | ||||
Description | In module does not execute a callbackExecutor when the current ticket has the property params.isReturn then this prevent the follow executions of anothers hooks of this type. | ||||
Steps To Reproduce | * Create a new hook of type "OBRETUR_ReturnFromOrig". * In POS try do a verified return then the org.openbravo.retail.returns/js/hookReturnPaidOrder.js is executed and your new hook doesnot run. | ||||
Proposed Solution | Run allways the callbackExecutor outside IF statement. --- a/modules/org.openbravo.retail.returns/web/org.openbravo.retail.returns/js/hookReturnPaidOrder.js 2019-08-01 16:40:25.997720000 +0200 +++ b/modules/org.openbravo.retail.returns/web/org.openbravo.retail.returns/js/hookReturnPaidOrder.js 2019-08-01 17:41:08.412779000 +0200 @@ -29,9 +29,8 @@ callbacks: callbacks } }); - } else { - OB.UTIL.HookManager.callbackExecutor(args, callbacks); } + OB.UTIL.HookManager.callbackExecutor(args, callbacks); return; }); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-08-02 00:20 | matias-bernal | New Issue | |||
2019-08-02 00:20 | matias-bernal | Assigned To | => Retail | ||
2019-08-02 00:20 | matias-bernal | Triggers an Emergency Pack | => No | ||
2019-08-02 08:11 | Practics | Issue Monitored: Practics |
There are no notes attached to this issue. |