Monday, July 4, 2022
2 changes · master
Resolved issues and error corrections
The payroll accounting module now prevents salary-related accounting journals from being deleted when they are still needed. This helps avoid payroll processing errors and preserves important financial records used for salary payments.
This fix prevents the app from crashing when the home menu disappears immediately after a user leaves the search box. It improves reliability in a specific navigation scenario without changing user-facing features.
Original PR description
In some cases, it could happen that the home menu would be removed from the dom right after a blur happens on the search input element. The previous code assumed that the inputRef was still valid, but it is not necessarily true.