Daily updates from Odoo
Thursday, August 15, 2024
8 changes · 17.0
New functionality added to Odoo
This update adds support for two Luxembourg tax credit rules to the payroll system: the Employee Tax Credit (Crédit d'impôt salarié) and the Carbon Tax Compensation Credit (Crédit d'Impôt pour Compensation taxe Carbone). These new rules enable accurate calculation of employee tax benefits and carbon tax compensation in Luxembourg payroll processing.
Original PR description
This will add rules for the "Crédit d'impôt salarié" and for the "Crédit d'Impôt pour Compensation taxe Carbone" to the Luxembourg loca. Task: 3970107 Forward-Port-Of: odoo/enterprise#64260
Enhancements to existing features
This update extends the US payroll system to support Alabama, Nevada, Washington, and Colorado with their respective tax rules and calculations. The enhancement ensures accurate payroll processing for employees in these states and improves the robustness of the payroll calculation engine by adding proper error handling to prevent undefined variables.
Original PR description
This will add rules for the payroll in Alabama, Nevada, Washington and Colorado. Task: 3923285
The signing feature now enforces minimum size requirements for signature and document fields to prevent users from accidentally creating boxes that are too small to be practical. Fields will maintain a minimum width of 5.5% of the page width and a minimum height of 1% of the page height, ensuring better usability and consistency in document signing workflows.
Original PR description
This commit aims to add a minimum box size for sign items. regardless of how the user resizes them, they should maintain this minimum size. Task: 4014579
Resolved issues and error corrections
This update fixes two display problems in the sign module: labels with hourglass icons that were overlapping action buttons, and a search panel that was taking up too much space on smaller screens, hiding important content. The changes improve the layout so all elements display correctly regardless of screen size.
Original PR description
Before this commit, the bottom right label in sign templates which included the hourglass icon was overlapping the action buttons and the search panel in the left position of the screen was occupying a big part of the screen when the width was small, hiding the sign templates and sign documents in the bottom of the page. After this commit, the bottom right label does not overlaps the action buttons anymore and when the screen is small (in width) we hide the search panel for showing the sign templates and sign documents correctly. task-4077791
The field service reporting tour has been fixed to run independently regardless of whether demo data is loaded. Previously, the tour relied on specific demo data being present, which caused it to fail in environments without demo data. The fix adds fallback selectors to handle both scenarios, ensuring the tour works consistently across all installations.
Original PR description
- 17.0 <hr> - Currently, the tour is written according to the demo data. The selector .o_form_sheet div[name] input will match if the work template is 'Device Installation and Maintenance' . This template is available in the demo. If the demo loads, the default 'Device Installation and Maintenance' will be set via the post hook. When the demo does not load, we will have the default template instead. That's why we used the .o_form_sheet p.oe-command-temporary-hint class in the OR condition. - Remove import `loaded_demo_data` from industry_fsm tests because it was not in use from this [commit](https://github.com/odoo/enterprise/commit/90ca61c62ecb0e5ddcf4d1e1ec9e0a2bf27c27f1). task-4086026
Fixed a bug where users could resend signing request links even after the request was already completed, canceled, or refused, causing unwanted duplicate emails. The system now properly checks the status of signing requests before allowing resends, preventing email spam and confusion.
Original PR description
Versions:
------------
17.0
Steps to reproduce:
-------------------------
1. Send a sign request with 2 signers, setting a reminder to be sent every day.
2. Two emails will be sent to different signers.
3. Change the local date to 2 days ahead.
4. Run the "Send: Sign Reminder" cron.
- Two more emails will be received, and one signer will complete their sign request.
5. Change the dates again and run the cron job.
- One email will be sent to the remaining signer.
6. From the old sign request email, copy the link and try to resend it.
- The user should not be able to resend the new link.
Issue:
-------
Resending the link does not check the state of the sign request and items, allowing multiple sends.
Solution:
-----------
Resending the link is only possible if the request and items are not already completed, canceled, or refused.
task: 4002440This fix prevents the creation of unnecessary zero-balance tax lines when reconciling bank statements with 0% tax rates. Previously, users would see empty tax lines in the reconciliation widget that would persist after validation. This update removes those unnecessary lines, making the reconciliation process cleaner and more accurate.
Original PR description
Have a 0% Tax Open bank reconciliation widget Reconcile a bank statement with a manual operation including the 0% tax Issue: On the reconciliation widget a void line will be shown After validation the 0 balance tax line will be created opw-4043498 Forward-Port-Of: odoo/enterprise#68159 Forward-Port-Of: odoo/enterprise#67458
The payroll module's guided training tours were broken due to outdated references to removed features. This fix updates the tours to work with the current payroll system, ensuring employees can properly learn how to use payroll functions through the interactive guided experience.
Original PR description
This commit fixes the broken tour in payroll as the previous one depended on actions that have been removed. task-3621276