Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041529
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Return Receiptminoralways2019-08-02 00:202019-08-02 08:11
Reportermatias-bernalView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041529: OBRETUR_ReturnFromOrig hook does not execute the callbackExecutor

DescriptionIn 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 SolutionRun 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;
   });
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker