Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0048863 | Retail Modules | Web POS | public | 2022-03-22 01:40 | 2022-04-11 13:20 | |||||||
Reporter | ivazquez | |||||||||||
Assigned To | Retail | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | RR18Q3.2 | |||||||||||
Target Version | RR18Q3.2 | Fixed in Version | RR18Q3.2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | 39596 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048863: There is an hiden error processing Cashups in Errors While Importing | |||||||||||
Description | 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. | |||||||||||
Steps To Reproduce | 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 | |||||||||||
Proposed Solution | CashCloseProcessor.createDifferenceTransaction should set the organization, getting the legal organization from the cash up. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=16794&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-03-22 01:40 | ivazquez | New Issue | ||||||||||
2022-03-22 01:40 | ivazquez | Assigned To | => Retail | |||||||||
2022-03-22 01:40 | ivazquez | OBNetwork customer | => Gold | |||||||||
2022-03-22 01:40 | ivazquez | Support ticket | => 39596 | |||||||||
2022-03-22 01:40 | ivazquez | Triggers an Emergency Pack | => No | |||||||||
2022-03-22 01:40 | ivazquez | Relationship added | related to 0047850 | |||||||||
2022-03-22 12:32 | ivazquez | Resolution | open => fixed | |||||||||
2022-03-22 12:32 | ivazquez | Fixed in Version | => RR18Q3.2 | |||||||||
2022-03-22 12:33 | ivazquez | File Added: 18Q3.2.diff | ||||||||||
2022-03-22 12:34 | ivazquez | Note Added: 0135918 | ||||||||||
2022-04-11 13:20 | ivazquez | Review Assigned To | => AugustoMauch | |||||||||
2022-04-11 13:20 | ivazquez | Status | new => closed |
Notes | |||||
|
|||||
|
|