Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0051435Openbravo ERP07. Sales managementpublic2023-01-17 15:052023-01-24 09:08
azabaleta 
radhakrishnan 
normalminoralways
closedfixed 
5
 
PR23Q1PR23Q1 
marvintm
Core
No
0051435: 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.
blocks defect 0051394 closed radhakrishnan The CreatedBy field of the Cashup table is wrong 
Issue History
2023-01-23 08:52marvintmTypedefect => backport
2023-01-23 08:52marvintmTarget Version => PR23Q2
2023-01-23 08:52marvintmTarget VersionPR23Q2 => PR23Q1
2023-01-24 09:08hgbotResolutionopen => fixed
2023-01-24 09:08hgbotStatusscheduled => resolved
2023-01-24 09:08hgbotFixed in Version => RR23Q1
2023-01-24 09:08hgbotNote Added: 0145785
2023-01-24 09:08marvintmNote Added: 0145786
2023-01-24 09:08marvintmReview Assigned To => marvintm
2023-01-24 09:08marvintmStatusresolved => closed
2023-01-24 09:08marvintmFixed in VersionRR23Q1 => PR23Q1

Notes
(0145785)
hgbot   
2023-01-24 09:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: adc5284ebecce090abebd02c325ee8e4e2a0e7b0
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 24-01-2023 13:16:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/adc5284ebecce090abebd02c325ee8e4e2a0e7b0 [^]

Fixed ISSUE-51435: 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
---
(0145786)
marvintm   
2023-01-24 09:08   
Solved in: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1044 [^]