Wednesday, March 27, 2024
3 changes · master
Enhancements to existing features
Timer behavior was improved so separate screens or components can run their own timers without unintentionally sharing the same timer state. This makes time tracking more reliable for users working across helpdesk and timesheet views.
Original PR description
[IMP] timer: convert TimerService into Reactive class Before this commit: The main problem with the timer service is 2 components mounted cannot launch a timer independently, they share the same timer because the service gives the same timer object. After this commit: TimerService was converted into a reactive class. task-3530794
Lithuanian balance sheet and profit and loss reports now rely on account tags instead of fixed account code assumptions. This gives businesses more flexibility to map their own chart of accounts while keeping report results consistent.
Original PR description
Currently the BS and P&L use a mix of account codes and tags. But there is no fixed or legally required CoA in Lithuania. So we should rather only use tags so that the users can more decide where the accounts go in the BS / P&L. This commit converts the codes to tags. The P&L lines already using the domain engine for tags were converted to account_codes engine. Also the profit and loss entries in the BS are now computed the same way as the P&L. task-3701151
Belgian payroll users can now export social security certificates and social balance sheets to Excel, making the reports easier to share and analyze. Social balance sheet calculations are now prepared month by month, improving accuracy for figures that must be assessed on a monthly basis.
Original PR description
This PR adds the export to xlsx for the social security certificate and the social_balance_sheet for the l10n belgian payroll. I split the pdf export method to not have to copy paste the data retrieval code and make it easy, if needed in the future, to adapt the methods to export in the two format at the same time or to change the data structure without having to retrieve the data 2 times. In addition to that the reports for the social balance sheet is now split by a period of one month instead of being done for the whole period at once. This has be done because the social balance sheet needs to be done for each month of the period because some data have to be kept into a certain ratio each month and thus a whole period ratio is not correct. task-3506703 / 3506713