Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041730Retail ModulesWeb POSpublic2019-08-30 11:142019-09-19 15:41
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041730: A wrongly shown approval when loading a paid receipt creates a record in Errors While Importing POS Data
A wrongly shown approval when loading a paid receipt creates a record in Errors While Importing POS Data. This causes the following cash ups to get stuck in it
In the backoffice:
   Set the 'disc_fixed_5_euro' as Approval Required = 'Y'
   Create a new record in Preference window:
      Property: 'Web POS Discretionary Discount Approval'
      Value: N
      Visible at User: Demo User (he/she will require approval)
   Create a new record in Preference window:
      Property: 'Web POS Discretionary Discount Approval'
      Value: Y
      Visible at User: Vall Blanca Store User (he/she will be able to approval)

In the POS:
   Log in with Demo User
   Create a new receipt and add a product
   Add the 'disc_fixed_5_euro' discount
   Approve it with Vall Blanca User
   Pay it

   Open Receipt
   Select previously created receipt

In the backoffice:
   Add a description to the previously created Sales Order (to update the Updated field)

In the POS:
   Click in the Total Amount of the receipt
   Check the approval is shown and it shouldn't
   Aprove it
   Click on Done

In the backoffice:
   Check a record has been created in the Errors While Importing POS Data with the following error:
      org.openbravo.mobile.core.process.OutDatedDataChangeException: The data of this order has been changed on the server. Please reload the ticket through the menu and apply your changes again.
No tags attached.
Issue History
2019-08-30 11:14ngarciaNew Issue
2019-08-30 11:14ngarciaAssigned To => Retail
2019-08-30 11:14ngarciaResolution time => 1568930400
2019-08-30 11:14ngarciaTriggers an Emergency Pack => No
2019-08-30 11:14ngarciaIssue Monitored: networkb
2019-09-04 22:14rqueraltaAssigned ToRetail => rqueralta
2019-09-04 22:15rqueraltaStatusnew => scheduled
2019-09-18 15:17hgbotCheckin
2019-09-18 15:17hgbotNote Added: 0114642
2019-09-18 15:17hgbotStatusscheduled => resolved
2019-09-18 15:17hgbotResolutionopen => fixed
2019-09-18 15:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a5b11dd0dc25700f6b6ab152fb7f40d2ad40f5c3 [^]
2019-09-19 15:41marvintmReview Assigned To => marvintm
2019-09-19 15:41marvintmStatusresolved => closed
2019-09-19 15:41marvintmFixed in Version => RR19Q4

Notes
(0114642)
hgbot   
2019-09-18 15:17   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a5b11dd0dc25700f6b6ab152fb7f40d2ad40f5c3
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Sep 05 14:15:35 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a5b11dd0dc25700f6b6ab152fb7f40d2ad40f5c3 [^]

Fixed issue 41730: A wrongly shown approval when loading a paid receipt creates
a record in Errors While Importing POS Data

- Verified if the order was loaded from backend, to show or not the approval
popup

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---