Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056329Retail ModulesSessionspublic2024-08-30 11:212024-08-30 11:21
jarmendariz 
Retail 
normalmajorhave not tried
newopen 
5
 
 
No
0056329: Incremental masterdata refresh forces page reload by changes in POSS properties in Terminal
When an User requests a masterdata reload on an environment with org.openbravo.retail.sessions (pos2-modules for example), at the end always reloads due to a Terminal change.

Looking at the differences in the Terminal object using developer tools (see attached screenshot), the two properties that changes are possLastCurrentBusinessDate and possTillClosedFrom.
Create a pos2-modules environment and enter ReactPOS

1- Open Chrome developer tools, and put a breakpoint in TerminalDataMasterdataHooks.js, line 77:

          persistMasterDataConfigurationChanges(
            terminalData,
            JSON.parse(oldTerminalData)
          );

2- Click on the gear button at the top bar, and then in "Refresh masterdata"

The application should stop by the breakpoint and you could see in the differences variables the properties mentioned in the description.
No tags attached.
png Screenshot from 2024-08-30 11-14-19.png (112,082) 2024-08-30 11:21
https://issues.openbravo.com/file_download.php?file_id=20123&type=bug
png
Issue History
2024-08-30 11:21jarmendarizNew Issue
2024-08-30 11:21jarmendarizAssigned To => Retail
2024-08-30 11:21jarmendarizFile Added: Screenshot from 2024-08-30 11-14-19.png
2024-08-30 11:21jarmendarizTriggers an Emergency Pack => No

There are no notes attached to this issue.