Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031755Retail ModulesWeb POSpublic2015-12-21 10:212016-02-11 10:50
Orekaria 
Retail 
normalmajoralways
acknowledgedopen 
5
 
 
No
0031755: To rebuild a receipt, the amounts must be calculated
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
Create a receipt
Add a product
Reload
Verify that the calculateReceipt is executed
Verify that the receipt data misses line values e.g. discountedNetPrice

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
No tags attached.
blocks defect 0031800 closed mario_castello Warning shown when a receipt is loaded 
Issue History
2015-12-21 10:21OrekariaNew Issue
2015-12-21 10:21OrekariaAssigned To => Retail
2015-12-21 10:21OrekariaTriggers an Emergency Pack => No
2016-02-02 11:22OrekariaRelationship addedblocks 0031800
2016-02-02 12:02OrekariaStatusnew => acknowledged
2016-02-11 10:50OrekariaSeveritycritical => major

There are no notes attached to this issue.