Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029220Retail ModulesWeb POSpublic2015-03-10 13:192015-04-17 13:54
jecharri 
aaroncalero 
immediatecriticalalways
closedfixed 
5
RR14Q3.5 
RR15Q2RR15Q2 
marvintm
No
0029220: Total gross amount is not updated properly
In our last confirmed stable version depending of the case, it seems that total of the ticket is not properly updated and it is set to 0

This can create that a ticket total should be 100 ant it is 0. The problem of this issue is that you are not registering the payment and also the generated invoice will keep as not paid.


It will be necessary to create an script to fix the data
-
No tags attached.
related to defect 0029425RR15Q3 closed Retail Stabilization: The loading process does not fail if any model(s) failed to be loaded 
blocks defect 0029690 closed shivum039 An error should be logged when the "Error getting Business Partner information" message is shown 
Issue History
2015-03-10 13:19jecharriNew Issue
2015-03-10 13:19jecharriAssigned To => marvintm
2015-03-10 13:19jecharriResolution time => 1426287600
2015-03-10 13:19jecharriTriggers an Emergency Pack => No
2015-03-12 16:39hgbotCheckin
2015-03-12 16:39hgbotNote Added: 0075492
2015-03-12 16:39hgbotStatusnew => resolved
2015-03-12 16:39hgbotResolutionopen => fixed
2015-03-12 16:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9aa1f38fc9e57fc2a020d32b7db80913c54b9535 [^]
2015-03-12 16:40aaroncaleroAssigned Tomarvintm => aaroncalero
2015-03-24 16:58marvintmReview Assigned To => marvintm
2015-03-24 16:58marvintmStatusresolved => closed
2015-03-24 16:58marvintmFixed in Version => RR15Q2
2015-03-26 11:10OrekariaRelationship addedblocks 0029425
2015-03-26 11:10OrekariaRelationship replacedrelated to 0029425
2015-04-17 13:54migueldejuanaNote Added: 0076608
2015-04-24 11:27OrekariaRelationship addedblocks 0029690

Notes
(0075492)
hgbot   
2015-03-12 16:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9aa1f38fc9e57fc2a020d32b7db80913c54b9535
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Thu Mar 12 16:01:06 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9aa1f38fc9e57fc2a020d32b7db80913c54b9535 [^]

Fixed issue 29220: Total gross amount is not updated properly

If the process of loading the master data fails and the websql database is incomplete, the POS stops working correctly.
Specifically, if the Business Partner information is missing, several javascript errors are risen and as a consequence the POS work flow is stopped. This can prevent the gross of the ticket from calculating, although the total amount button remains active, allowing to complete the ticket without gross amount (and therefore without payments).
In order to prevent this from happening, a new security check has been implemented. If the POS is unable to recover Business Partner information, a popup is shown explaining the situation and prompts the user to reload the window. After reloading a full refresh of the data will be done.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0076608)
migueldejuana   
2015-04-17 13:54   
If total button get stucked disabled (because incremental update failed or because there is not more space), we press F5 and bp is not loaded and the modal to load again master data is not shown.