Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047282
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-06-29 15:552021-07-09 07:07
ReporterjmelinView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047282: JIRA 2119 - Integration in BO - transaction linked to first user connected

DescriptionAll the sales order are linked to the first user that logged to the POS until the POS is closed.
Steps To ReproducePre-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

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047284TAP closedAtulOpenbravo JIRA 2119 - Integration in BO - transaction linked to first user connected 

-  Notes
(0130184)
AtulOpenbravo (developer)
2021-07-06 15:19

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 / modifiedBy)
- 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.
(0130201)
hgbot (developer)
2021-07-06 20:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/507 [^]
(0130334)
hgbot (developer)
2021-07-08 20:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/251 [^]
(0130335)
hgbot (developer)
2021-07-09 07:06

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/507 [^]
(0130336)
hgbot (developer)
2021-07-09 07:06

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d0df2e410ec9f1d0e5d7fc44b220c49497af4297
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-07-08T18:19:46+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d0df2e410ec9f1d0e5d7fc44b220c49497af4297 [^]

Fixes BUG-0047282: JIRA 2119 - Integration in BO - transaction
linked to first user connected

**Update createdBy with logged in user when editable
ticket is processed.

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---
(0130337)
hgbot (developer)
2021-07-09 07:06

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 66a01ab4dc125baefac55304d355683754da0202
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-07-08T18:19:46+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/66a01ab4dc125baefac55304d355683754da0202 [^]

Related To BUG-0047282: JIRA 2119 - Integration in BO -
transaction linked to first user connected

**Set updatedBy with logged in user when ticket is processed.

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---
(0130338)
hgbot (developer)
2021-07-09 07:06

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 8f641514de6a0d99cef2088270a64189a7e45c2b
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-07-08T18:18:49+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/8f641514de6a0d99cef2088270a64189a7e45c2b [^]

Related To BUG-0047282: JIRA 2119 - Integration in BO -
transaction linked to first user connected

**Set context user using request record property updatedBy if it
exists

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---
(0130339)
hgbot (developer)
2021-07-09 07:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/251 [^]

- Issue History
Date Modified Username Field Change
2021-06-29 15:55 jmelin New Issue
2021-06-29 15:55 jmelin Assigned To => Retail
2021-06-29 15:55 jmelin Triggers an Emergency Pack => No
2021-06-29 16:05 guilleaer Status new => scheduled
2021-06-29 16:06 guilleaer Resolution time => 1626127200
2021-06-29 16:07 guilleaer Assigned To Retail => AtulOpenbravo
2021-06-30 12:56 guilleaer Resolution time 1626127200 => 1626213600
2021-07-06 15:19 AtulOpenbravo Note Added: 0130184
2021-07-06 20:04 hgbot Note Added: 0130201
2021-07-08 20:04 hgbot Note Added: 0130334
2021-07-09 07:06 hgbot Note Added: 0130335
2021-07-09 07:06 hgbot Resolution open => fixed
2021-07-09 07:06 hgbot Status scheduled => closed
2021-07-09 07:06 hgbot Fixed in Version => RR21Q4
2021-07-09 07:06 hgbot Note Added: 0130336
2021-07-09 07:06 hgbot Note Added: 0130337
2021-07-09 07:06 hgbot Note Added: 0130338
2021-07-09 07:07 hgbot Note Added: 0130339


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker