Thursday, February 20, 2025
10 changes · master
Enhancements to existing features
Ecuadorian companies can now record required dividend information when creating purchase withholdings for shareholder profit payments. The update adds the needed fields, tax handling, and reporting output so dividend withholdings are reflected correctly in electronic documents and ATS reports.
Original PR description
Implement dividens in purchase withholdings. When a company pays its shareholders some profits from the closed fiscal period, there is also a Purchase WTH needs to be created. Fields required in…
Implement dividens in purchase withholdings. When a company pays its shareholders some profits from the closed fiscal period, there is also a Purchase WTH needs to be created. Fields required in withholding wizard, XML and ATS report - **Dividend payment date:** it can be different to withhold date. It must be showed in ATS **`<fechaPagoDiv>`** and XML **`<fechaPagoDiv>`** - **Dividend income tax:** value of the Income Tax paid by the company that corresponds to the reported dividend. The computation of this value can be quite varied because of several parameters (exemptions, non-deductible expenses, deferred taxes, shareholder participation,annual withholding table with fixed withholding for the basic fraction, etc...). It must be showed in ATS **`<imRentaSoc>`** and XML **`<imRentaSoc>`** - **Dividend fiscal year:** The fiscal year in which earnings on the reported dividend are generated. The company could pay previous periods. It must be showed in ATS **`<anioUtDiv>`** and XML **`<ejerFisUtDiv>`** - **Show fields dividend:** Computed field to show the dividends fields. task: 865
After exporting Studio customizations, the export window now closes automatically once the zip file is successfully generated. This removes an extra manual step and avoids confusion from leaving outdated export instructions visible after the download completes.
Original PR description
Before this commit: When a user exports Studio customizations (whether or not they configure the data/demo data to export), the Studio Export window remains open, even after the .zip file has downloaded. User then has to close the window manually by clicking Cancel or by clicking X. This is especially confusing as the message still reads 'Studio Customizations will be exported'. After this commit: The dialog autoclose when the zip file generation has succeeded. opw-4583824
Financial reports now identify the exact source report when reusing figures from another report, reducing the risk of ambiguous or incorrect totals. This makes statutory and management reporting easier to maintain across countries and improves confidence in reported balances.
Payroll settings for the UAE, India, and Saudi Arabia now rely on the shared company information already available in the system. This removes duplicated setup data and helps keep company-specific payroll settings consistent across Odoo.
Original PR description
* = [l10n_ae_hr_payroll, l10n_in_hr_payroll, l10n_sa_hr_payroll] Since [1], a new `companies` key has been added to the evaluation context, and a new mechanism for adding company information to the `session_info` has also been added. This commit uses the new `companies` key and removes the `company_country_code` field from the settings. [1]: https://github.com/odoo/odoo/commit/22e9d822e8cab08114c006eb8c4054c4de0c40f2
This update changes how certain localization features handle concurrent updates by using Odoo’s standard record-locking approach instead of temporary database savepoints. It helps reduce processing conflicts and improves reliability for electronic invoicing and stock flows in Chile and Ecuador without changing user workflows.
Original PR description
Instead of creating savepoints, use the `lock_records()` method. odoo/odoo#197653
Manufacturing screens now use clearer, more readable web addresses for important actions. This makes navigation easier to understand and share without changing the underlying business process.
Original PR description
Enabled pretty URLs for key actions, making navigation clearer. task-4555148
The Move to Work Center action now lists only real, valid work centers and excludes the one currently in use. This prevents accidental creation of invalid records and helps shop floor users switch work centers more reliably.
Original PR description
Before Commit: ------------------------------ - The "Move to Work Center" action displayed invalid options like "ALL MO" and "MY WO," leading to the creation of invalid work center records. - Not all available work centers were listed, preventing users from switching to valid work centers not added to the shopfloor. - These issues caused confusion and disrupted workflow. After Commit: ----------------------------- - The list now shows only valid work centers, excluding invalid options like "ALL MO" and "MY WO." - All available work centers, except the current one in use, are displayed, ensuring users can switch to any valid work center. - This update eliminates confusion, prevents invalid records, and enhances workflow accuracy. task-4447003
The document signing experience now shows a redesigned thank-you dialog for people who are not logged in. This makes the completion step clearer and more polished for external signers, improving the overall customer-facing flow.
Original PR description
Redesign of the dialog for non-logged in users when signing a document task-id: 4426891
Purchase order status updates linked to approval requests now process more efficiently. This reduces slowdowns when many purchase orders change status at once, improving day-to-day responsiveness for purchasing teams.
Original PR description
To log the changes in the state of a purchase order to the chatter of the related approval requests, a search was done to find the product lines related to the approval requests. This search was performed inside a loop. This commit performs the search outside of the loop to avoid slowing down the system when the state of multiple purchase orders has changed. Related-PR: https://github.com/odoo/enterprise/pull/71294 task-3561514
The Documents Spreadsheet test tour for opening pivot sheets was updated to match recent changes in how user avatar fields are displayed. This helps keep automated checks aligned with the current interface and reduces the risk of false test failures.
Original PR description
We adapt the tour `spreadsheet_open_pivot_sheet` to the changes brought by https://github.com/odoo/odoo/pull/197811. Task ID: 4571809