Wednesday, March 25, 2026
2 changes · master
Enhancements to existing features
This update adds a new system for calculating and managing professional tax deductions for employees in Russia. The change combines existing logic for LWF deductions and introduces flexible payment cycles (monthly, quarterly, etc.) to simplify tax processing and improve accuracy. This enhancement ensures compliance with Russian tax regulations.
Original PR description
[IMP] l10n_in_hr_payroll: professional tax deduction cycle
1 - New deduction cycle field is added for professional tax (monthly, quarterly, half_yearly, yearly)
1.1 - It is added form view of employee just below of Professional Tax in Tax Deductions
2 - There was a written logic for LWF deductions in the code already _l10n_in_apply_lwf.
2.1 - Since the logic was almost same, I combined both professional tax deduction and lwf tax deduction and made a small refactor.
task - 4978408This update improves the speed and reliability of refreshing social media data (Facebook and Instagram) by using batch API requests. It also ensures consistent engagement trend calculations across platforms, leading to more accurate reporting and a better user experience. The changes focus on efficiency and data accuracy.
Original PR description
Purpose ======= The Meta API supports batch requests: > https://developers.facebook.com/docs/graph-api/batch-requests This can reduce a lot the HTTP calls we make, and makes the module faster to…
Purpose ======= The Meta API supports batch requests: > https://developers.facebook.com/docs/graph-api/batch-requests This can reduce a lot the HTTP calls we make, and makes the module faster to refresh. We could have been way more aggressive in the optimization (eg, fetch the stats and the posts at the same time), but it will deteriorate the readability, so we just batched API calls in loop, and stuff like that. Time of a refresh for 6 Facebook pages and 1 Instagram page: <img width="881" height="71" alt="a" src="https://github.com/user-attachments/assets/ec319c4a-c51d-49b8-a6ab-3ee879cf63b4" /> After: <img width="886" height="103" alt="b" src="https://github.com/user-attachments/assets/0b707b72-f30f-4e00-a38c-614feea6e204" /> Use `total_interactions` instead of `reach` for the engagement trend of Instagram. Show the view and saved statistic for Instagram. Do misc UI improvement. Fix an inconsistency for the engagement trend computation between Facebook and Instagram. Task-4865381