Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048863Retail ModulesWeb POSpublic2022-03-22 01:402022-04-11 13:20
ivazquez 
Retail 
highmajoralways
closedfixed 
5
RR18Q3.2 
RR18Q3.2RR18Q3.2 
AugustoMauch
No
0048863: There is an hiden error processing Cashups in Errors While Importing
When there is an error processing an order, the cash up, if there are differences, cannot be processed and the real error is hidden by another one "Couldn't enable triggers"

When creating the differences CashCloseProcessor.createDifferenceTransaction does not set the organization. Dal infrastructure will later set the Organization from the context.
If the user is logged in as * there is an error because transactions cannot be created for organization 0, then rolling back the exception of the trigger is raised and the real message is hidden.
Generate some error creating an order (use a product from another organization for example)
Do the cash up
Change the order JSON to import it
Logged in with organization *, process the cash up

The trigger error is shown
CashCloseProcessor.createDifferenceTransaction should set the organization, getting the legal organization from the cash up.
No tags attached.
related to defect 0047850 closed justin_patterson There is an hiden error processing Cashups in Errors While Importing 
diff 18Q3.2.diff (1,157) 2022-03-22 12:33
https://issues.openbravo.com/file_download.php?file_id=16794&type=bug
Issue History
2022-03-22 01:40ivazquezNew Issue
2022-03-22 01:40ivazquezAssigned To => Retail
2022-03-22 01:40ivazquezTriggers an Emergency Pack => No
2022-03-22 01:40ivazquezRelationship addedrelated to 0047850
2022-03-22 12:32ivazquezResolutionopen => fixed
2022-03-22 12:32ivazquezFixed in Version => RR18Q3.2
2022-03-22 12:33ivazquezFile Added: 18Q3.2.diff
2022-03-22 12:34ivazquezNote Added: 0135918
2022-04-11 13:20ivazquezReview Assigned To => AugustoMauch
2022-04-11 13:20ivazquezStatusnew => closed

Notes
(0135918)
ivazquez   
2022-03-22 12:34   
Hello Team,

The patch provided for version 21Q3.5 is also applicable for version 18Q3.2!

Regards,
Ignacio Vazquez