Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0051394Openbravo ERP07. Sales managementpublic2023-01-17 15:052023-01-24 09:08
azabaleta 
radhakrishnan 
normalminoralways
closedfixed 
5
 
 
approved
No
Core
No
0051394: The CreatedBy field of the Cashup table is wrong
When a cashup is visible in backoffice, the createdBy field shows incorrect information.

It shows the user who closed the previous cashup and not the one that opened the till
Log in Webpos with user A
PErform a few tickets
Execute the cashup with this same user A
You are logged out
Then log in with user B
Webpos will ask this new user to perform an opening of the till
Finish the action and access to webpos
Go to backoffice and find this last cashup that is in status PROCESSED=N
This cashup has createdBy user A where it should have user B
No tags attached.
depends on backport 0051435PR23Q1 closed radhakrishnan The CreatedBy field of the Cashup table is wrong 
Issue History
2023-01-17 15:05azabaletaNew Issue
2023-01-17 15:05azabaletaAssigned To => Triage Omni OMS
2023-01-17 15:05azabaletaOBNetwork customer => No
2023-01-17 15:05azabaletaModules => Core
2023-01-17 15:05azabaletaTriggers an Emergency Pack => No
2023-01-17 15:09aferrazAssigned ToTriage Omni OMS => Retail
2023-01-17 17:57radhakrishnanAssigned ToRetail => radhakrishnan
2023-01-17 17:57radhakrishnanStatusnew => scheduled
2023-01-20 11:29hgbotMerge Request Status => open
2023-01-20 11:29hgbotNote Added: 0145686
2023-01-23 08:52marvintmStatusscheduled => acknowledged
2023-01-23 08:52marvintmStatusacknowledged => scheduled
2023-01-24 07:45hgbotMerge Request Statusopen => approved
2023-01-24 07:45hgbotResolutionopen => fixed
2023-01-24 07:45hgbotStatusscheduled => closed
2023-01-24 07:45hgbotNote Added: 0145780
2023-01-24 07:45hgbotFixed in Version => RR23Q2
2023-01-24 07:45hgbotNote Added: 0145781
2023-01-24 08:48hgbotNote Added: 0145782
2023-01-24 09:08hgbotNote Added: 0145784

Notes
(0145686)
hgbot   
2023-01-20 11:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1041 [^]
(0145780)
hgbot   
2023-01-24 07:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1041 [^]
(0145781)
hgbot   
2023-01-24 07:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: cac0d585d03b7272982216254a68c54b21029636
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 23-01-2023 19:08:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/cac0d585d03b7272982216254a68c54b21029636 [^]

Fixed ISSUE-51394: cashup object should use current logged user
* When creating cashup object, we should use current logged user instead of using previous
  session logged user

---
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/actions/InitCashup.js
---
(0145782)
hgbot   
2023-01-24 08:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1044 [^]
(0145784)
hgbot   
2023-01-24 09:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1044 [^]