Monday, May 27, 2024
3 changes
2 changes
New functionality added to Odoo
This adds payroll localization for Turkey, including salary structures, payroll rules, and accounting setup. It helps businesses in Turkey run payroll more accurately in Odoo and align payroll accounting with local requirements.
Original PR description
Turkey payroll localization - [Ticket#: 3689866](https://www.odoo.com/odoo/4996/tasks/3689866?cids=14)
Australian payroll users can now register payments for an entire payslip batch instead of processing each payslip one by one. The change creates a batch payment record that supports ABA bank file generation, reducing manual work while keeping the existing single-payslip payment flow.
Original PR description
Currently, `action_register_payment` and the `account.payment.register` wizard depends on the payslip in the context to only register payment for one payslip. This restricts any way of registering payment for a batch of payslips. This PR extends the `hr_payroll_account` module to allow multiple payslips to be registered as a batch. However, it maintains the current flow for single payslip payment. This adds a register payment feature to the payslip batch that generates individual payments on payslips and returns a record of `account.payment.batch` with all the payments. This also simplifies the ABA file generation and moves it entirely to `account.payment.batch` instead of `payslip.run` task #3855817
1 change
Enhancements to existing features
This update significantly speeds up the process of cancelling large purchase orders. Previously, cancelling orders with over 50 lines would take several minutes or timeout; now the same operations complete in seconds. This improvement makes it practical for users to manage and cancel large orders without experiencing system delays.
Original PR description
# Current behavior: Cancelling a Purchase Order with more than 50 lines takes too much time to be processed. In the case of the client they had PO with more than 200 lines which makes it impossible for them to cancel them. # Step to reproduce: - Install mrp and mrp_subcontracting - Create PO with more than 50 order lines or more - Confirm the PO - Try to cancel it - Take a long time or timeout # Benchmark (made in 16): | No. of PO lines | Before | After | |-----------------|:-------:|:------:| | 9 | 650ms | 600ms | | 91 | 1min26 | 9s | | 273 | 4min50 | 34s | | 405 | 7min13 | 55s | # Fix: Batch more actions and records to reduce the number of queries generated by the ORM. # Reference: opw-3690875 Forward-Port-Of: odoo/odoo#166513 Forward-Port-Of: odoo/odoo#151526