Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0041529 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Return Receipt | minor | always | 2019-08-02 00:20 | 2019-08-02 08:11 | |||||||
Reporter | matias-bernal | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | pi | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
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; }); | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |