Tuesday, April 2, 2024
3 changes
2 changes
Enhancements to existing features
Australian payroll now creates SuperStream contribution records directly from validated payslips, reducing manual entry and the risk of incorrect employee or fund details. Businesses can split superannuation across multiple accounts by proportion and register payments from the SuperStream workflow.
Original PR description
SuperStream is the way businesses must pay employee superannuation guarantee contributions to super funds. This process is part of the STP. Currenty, after validating the payslip we needed to create superstream record and manually input all the correct employee details. This Commit automates this process by - Adding superstream lines from payslip. - Computed fields for superstream based on account configuration. - Allows super to be paid to multiple accounts according to proportions. - Allows Payment registration from superstream. Task - 3635231
Adds support for calculating and accounting for UAE corporate tax when annual net profits exceed the taxable threshold. This helps companies prepare required corporate tax reporting directly within the UAE localization reports.
Original PR description
When a corporation's annual net profits exceeds a certain limit, a corporate tax has to be paid. This commit implements the calculation and accounting of this corporate tax. task: 3690934
1 change
Enhancements to existing features
This update significantly speeds up the cash basis balance sheet report by optimizing how the system queries financial data. With large datasets, the report now loads in 4 seconds instead of up to 54 seconds, making financial reporting much faster and more responsive for users.
Original PR description
# Description When opening the balance sheet in the cash basis method, the queries, generated by `_compute_formula_batch_with_engine_domain`, for the report can be slow. The issue is that they filter by date, which can be slower the more data the `temp_account_move_line` table contains. # Fix To speed up these queries, I added a composite index on the date and a few other fields. Since the index is added to a temporary table, it will be removed when the table is dropped. # Benchmark (in 17.0) | Cash Basis | Before | After | |------------|-------:|------:| | 1K | 250ms | 200ms | | 80K | 22s | 4s | | 180K | 30s | 4s | | 280K | 54s | 4s | (In this case, the 4 seconds come mainly from the SELECT for payment_table). # Reference opw-3782652 Forward-Port-Of: odoo/enterprise#59376 Forward-Port-Of: odoo/enterprise#59005