(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
---
|
|