Openbravo Issue Tracking System - Retail Modules  | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0031755 | Retail Modules | Web POS | public | 2015-12-21 10:21 | 2016-02-11 10:50 | |||||||
| Reporter | Orekaria | |||||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||||||
| Status | acknowledged | Resolution | open | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0031755: To rebuild a receipt, the amounts must be calculated | |||||||||||
| Description | The problem is that when the receipt is retrieved back from the server, the application calculate the missing values for taxes and promotions Also, after a reload, the receipt must be calculated  | |||||||||||
| Steps To Reproduce | Create a receipt Add a product Reload Verify that the calculateReceipt is executed Verify that the receipt data misses line values e.g. discountedNetPrice  | |||||||||||
| Proposed Solution | The receipt should be able to be rebuilt without the need to calculate: A) Jsonify all the information of the receipt Add a hash of the json in the server Save this json in the local database and in the server database B) When a receipt is retrieved send also a hash of the json When the receipt modifications are sent back to the server, verify that the hash has not changed  | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships | 
  | |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2015-12-21 10:21 | Orekaria | New Issue | ||||||||||
| 2015-12-21 10:21 | Orekaria | Assigned To | => Retail | |||||||||
| 2015-12-21 10:21 | Orekaria | OBNetwork customer | => No | |||||||||
| 2015-12-21 10:21 | Orekaria | Triggers an Emergency Pack | => No | |||||||||
| 2016-02-02 11:22 | Orekaria | Relationship added | blocks 0031800 | |||||||||
| 2016-02-02 12:02 | Orekaria | Status | new => acknowledged | |||||||||
| 2016-02-11 10:50 | Orekaria | Severity | critical => major | |||||||||
| There are no notes attached to this issue. |