Openbravo Issue Tracking System - POS2
View Issue Details
0047284POS2POSpublic2021-06-29 15:552021-07-09 07:08
jmelin 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
TAPTAP 
marvintm
Gold
No
0047284: JIRA 2119 - Integration in BO - transaction linked to first user connected
All the sales order are linked to the first user that logged to the POS until the POS is closed.
Pre-requisite:

Have 2 users that can connect to the same POS

Step to reproduce:
1. Connect to POS with user 1
2. Do sales order on your POS
3. Check in BO that the sales order are linked to user 1 (created/modified by)
4. Log out
5. Connect to POS with user 2
6. Do sales order
7. Check in BO that the sales order are linked to user 2 (created/modified by)
=> KO. it shows that order was made by the user 1
8. Close the till
9. Log with user 2
10. Do sales order
11. Check in BO that the sales order are linked to user 2 (created/modified by)
=> OK, the sales order are correctly to user 2

No tags attached.
blocks defect 0047282 closed AtulOpenbravo JIRA 2119 - Integration in BO - transaction linked to first user connected 
Issue History
2021-06-29 16:05guilleaerTypedefect => backport
2021-06-29 16:05guilleaerTarget Version => TAP
2021-06-29 16:06guilleaerResolution time => 1626127200
2021-06-29 16:08guilleaerAssigned ToRetail => AtulOpenbravo
2021-06-30 12:56guilleaerResolution time1626127200 => 1626213600
2021-07-06 20:08AtulOpenbravoNote Added: 0130202
2021-07-09 07:08marvintmNote Added: 0130340
2021-07-09 07:08marvintmStatusscheduled => resolved
2021-07-09 07:08marvintmFixed in Version => TAP
2021-07-09 07:08marvintmResolutionopen => fixed
2021-07-09 07:08marvintmReview Assigned To => marvintm
2021-07-09 07:08marvintmStatusresolved => closed

Notes
(0130202)
AtulOpenbravo   
2021-07-06 20:08   
Test Plan

- Connect to POS with user 1
- Create a ticket in POS.
- Check in Back Office that the sales order are linked to user 1 (createdBy / updatedBy). This is correct.
- Log out
- Connect to POS with user 2
- Create Ticket in POS.
- Check in Back Office that the sales order are linked to user 2 (createdBy / updatedBy)
- Realize that it shows order was made by the user 2. This is correct.
- Close the till
- Log with user 2
- Create Ticket in POS
- Check in Back Office that the sales order are linked to user 2 (createdBy / updatedBy)
- Realize that the sales order is correctly linked to user 2 as Created By and Updated By.
(0130340)
marvintm   
2021-07-09 07:08   
Fixed by these changes:

https://gitlab.com/obcustomers/AGAP/org.openbravo.retail.posterminal/-/merge_requests/7 [^]

https://gitlab.com/obcustomers/AGAP/org.openbravo.mobile.core/-/merge_requests/5 [^]